Opened 15 years ago

Closed 14 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)

12047.diff (792 bytes ) - added by Tim Graham 15 years ago.

Download all attachments as: .zip

Change History (3)

by Tim Graham, 15 years ago

Attachment: 12047.diff added

comment:1 by Tim Graham, 15 years ago

Keywords: typo added
Triage Stage: UnreviewedReady for checkin

comment:2 by Adrian Holovaty, 14 years ago

Resolution: fixed
Status: newclosed

(In [12167]) Fixed #12047 -- Fixed typo in generic views documentation. Thanks, schickler

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