Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #6434 - Add clarifying note about auto_now and auto_now_add. th…

…ank adamv for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8d10e0c3252fafead53b4f71602acee9b7c70429 1 parent 3ae9117
Tim Graham authored December 18, 2010

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  docs/ref/models/fields.txt
5  docs/ref/models/fields.txt
@@ -413,6 +413,11 @@ The admin represents this as an ``<input type="text">`` with a JavaScript
413 413
 calendar, and a shortcut for "Today".  The JavaScript calendar will always
414 414
 start the week on a Sunday.
415 415
 
  416
+.. note::
  417
+    As currently implemented, setting ``auto_now`` or ``auto_add_now`` to
  418
+    ``True`` will cause the field to have ``editable=False`` and ``blank=True``
  419
+    set.
  420
+
416 421
 ``DateTimeField``
417 422
 -----------------
418 423
 

0 notes on commit 8d10e0c

Please sign in to comment.
Something went wrong with that request. Please try again.