#6434: auto_now and auto_now_add documentation
--------------------------------------------+-------------------------------
Reporter: [email protected] | Owner: adamnelson
Status: new | Milestone:
Component: Documentation | Version: SVN
Resolution: | Keywords: datefield
auto_now auto_now_add
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
--------------------------------------------+-------------------------------
Comment (by bjunix):
I just stumbled upon this documentation 'bug'. tried to explicity include
a DateField with auto_now_add=True in a ModelForm. After rethinking the
problem it is clear that the auto_now_add field is not editable and thus
excluded from the form automatically. But I think it would have helped if
this behavior was documented somewhere.
--
Ticket URL: <http://code.djangoproject.com/ticket/6434#comment:7>
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.