On Sep 30, 7:29 am, Gerard Petersen <[EMAIL PROTECTED]> wrote:
> I get this trace:http://paste.pocoo.org/show/86579/
>
> This is the model in question:http://paste.pocoo.org/show/86580/

Remove the strftime() call from your default= setting for the
DateField.

Django model fields automatically handle converting appropriate Python
values to/from DB backend values.  For a DateField, the appropriate
value is the Python date/datetime object, not a string.

Carl
--~--~---------~--~----~------------~-------~--~----~
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