Ticket #6434: auto-add-note.diff

File auto-add-note.diff, 580 bytes (added by adamv, 4 years ago)

Alternate docs-only patch.

  • docs/ref/models/fields.txt

    diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
    index 7300f4d..d68279c 100644
    a b The admin represents this as an ``<input type="text">`` with a JavaScript 
    413413calendar, and a shortcut for "Today".  The JavaScript calendar will always
    414414start the week on a Sunday.
    415415
     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
    416421``DateTimeField``
    417422-----------------
    418423
Back to Top