Opened 15 years ago
Closed 15 years ago
#12047 closed (fixed)
Copy/paste error in documentation
Reported by: | schickler | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.1 |
Severity: | Keywords: | typo | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
http://docs.djangoproject.com/en/dev/ref/generic-views/#django-views-generic-date-based-archive-day
In the template context portion of the documentation for the date_based.archive_day generic view, "previous_day" is incorrectly documented:
"previous_day: A datetime.date object representing the given day. [...]"
I believe this is just a copy/paste error from "day":
"day: A datetime.date object representing the given day."
The correct documentation should be:
"previous_day: A datetime.date object representing the previous day."
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | 12047.diff added |
---|
comment:1 by , 15 years ago
Keywords: | typo added |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [12167]) Fixed #12047 -- Fixed typo in generic views documentation. Thanks, schickler