Opened 6 years ago

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

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 timo 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by timo

comment:1 Changed 6 years ago by timo

  • Keywords typo added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 5 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

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