mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
Fixed #6434 - Add clarifying note about auto_now and auto_now_add. thank adamv for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3ae9117c46
commit
8d10e0c325
@ -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.
|
||||
|
||||
``DateTimeField``
|
||||
-----------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user