Author: timo
Date: 2010-12-18 08:05:40 -0600 (Sat, 18 Dec 2010)
New Revision: 14924

Modified:
   django/branches/releases/1.2.X/docs/ref/models/fields.txt
Log:
[1.2.X] Fixed #6434 - Add clarifying note about auto_now and auto_now_add. 
thank adamv for the patch.

Backport of r14923 from trunk.

Modified: django/branches/releases/1.2.X/docs/ref/models/fields.txt
===================================================================
--- django/branches/releases/1.2.X/docs/ref/models/fields.txt   2010-12-18 
14:04:39 UTC (rev 14923)
+++ django/branches/releases/1.2.X/docs/ref/models/fields.txt   2010-12-18 
14:05:40 UTC (rev 14924)
@@ -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.

Reply via email to