Opened 19 years ago

Closed 19 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

Description

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

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