Skip to content
Browse files

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

…ank adamv for the patch.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 3ae9117 commit 8d10e0c3252fafead53b4f71602acee9b7c70429 @timgraham timgraham committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 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
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.

0 comments on commit 8d10e0c

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