Opened 9 years ago

Closed 9 years ago

#2057 closed defect (fixed)

auto_now_add doc improvement

Reported by: echochamber@… Owned by: jacob
Component: Documentation Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


When auto_now_add is True for DateField and DateTimeField, the current datetime is *always* used; it's not a default value.
It'd be nice if the 'Model reference' document explicitly states that.

Change History (1)

comment:1 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [3043]) Fixed #2057 -- Added explicit statement to auto_now and auto_now_add section in docs/model-api.txt

Note: See TracTickets for help on using tickets.
Back to Top