Author: timo Date: 2010-12-18 08:04:39 -0600 (Sat, 18 Dec 2010) New Revision: 14923
Modified: django/trunk/docs/ref/models/fields.txt Log: Fixed #6434 - Add clarifying note about auto_now and auto_now_add. thank adamv for the patch. Modified: django/trunk/docs/ref/models/fields.txt =================================================================== --- django/trunk/docs/ref/models/fields.txt 2010-12-18 02:50:26 UTC (rev 14922) +++ django/trunk/docs/ref/models/fields.txt 2010-12-18 14:04:39 UTC (rev 14923) @@ -413,6 +413,11 @@ calendar, and a shortcut for "Today". The JavaScript calendar will always start the week on a Sunday. +.. note:: + As currently implemented, setting ``auto_now`` or ``auto_add_now`` to + ``True`` will cause the field to have ``editable=False`` and ``blank=True`` + set. + ``DateTimeField`` ----------------- -- 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.
