Opened 13 years ago

Closed 13 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: no UI/UX: no


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 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(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