hello everyone,

A)
if you render a DateField it renders as: YYYY/MM/DD and then you have to 
tell the user he should use the input_format ( which is MM/DD/YYYY by 
default) which is kind of.... duh! :)

B)
if you use the SelectDateWidget (in the code but not in the docs) it 
will only work with a string as input, and not with a datetime.date() as 
input.
I.e. using MyClass(instance=model_instance) it will not pick up the date 
as the DateField obviously gives you a datetime and not a string.


Does anyone know of a way of fixing either? :)


cheerio!


  - bram

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to