#6626: newforms-admin DateField populated value wrong
-------------------------------------------------+--------------------------
Reporter: Dan <[EMAIL PROTECTED]> | Owner: nobody
Status: closed | Milestone:
Component: django.contrib.admin | Version:
newforms-admin
Resolution: worksforme | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------------+--------------------------
Comment (by tclancy):
I created this problem for myself by initially setting a field as a
DateTimeField, creating my tables in the database and then changing the
field in the model to DateField. MySQL had the column as DATETIME and was
passing back a full timestamp to Django. I updated to a DATE field and
everything's fine.
--
Ticket URL: <http://code.djangoproject.com/ticket/6626#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---