Opened 18 years ago
Closed 18 years ago
#2057 closed defect (fixed)
auto_now_add doc improvement
Reported by: | 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.
Note:
See TracTickets
for help on using tickets.
(In [3043]) Fixed #2057 -- Added explicit statement to auto_now and auto_now_add section in docs/model-api.txt