#1030: auto_now_add is broken for edit_inline field
---------------------+------------------------------------------------------
Reporter: titoo | Owner: adrian
Status: new | Component: Admin interface
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 1 | Needs_better_patch: 1
---------------------+------------------------------------------------------
Changes (by [EMAIL PROTECTED]):
* cc: [EMAIL PROTECTED] (added)
Comment:
I'm having a similar issue in a view I've recently created using newforms.
When I try to modify an existing model object, I get the following error:
"year is out of range". I'm using MySQL 5.0.22. I've gone into the DB
tables themselves and checked the data. After the initial object
creation, the create date is set properly. However, after any subsequent
save/update of the object, the create date is set back to all zeroes.
This DOES NOT occur in the admin interface, only in my custom view using
the newforms save() method.
--
Ticket URL: <http://code.djangoproject.com/ticket/1030#comment:20>
Django Code <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
-~----------~----~----~----~------~----~------~--~---