Code

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#17685 closed Bug (fixed)

Inconsistent 3-tuple item naming in BaseDateListView.get_dated_items()

Reported by: ejb Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://docs.djangoproject.com/en/dev/ref/class-based-views/#django.views.generic.dates.BaseDateListView

Says that get_dated_items() "Returns a 3-tuple containing (date_list, latest, extra_context)." then goes on to reference the second item as object_list.

Attachments (1)

BaseDateListView.get_dated_items-doc-fix.diff (820 bytes) - added by ejb 2 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 2 years ago by jezdez

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

comment:2 Changed 2 years ago by timo

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

In [17548]:

Fixed #17685 - Typo in BaseDateListView.get_dated_items(); thanks ejb.

comment:3 Changed 2 years ago by timo

In [17549]:

[1.3.X] Fixed #17685 - Typo in BaseDateListView.get_dated_items(); thanks ejb.

Backport of r17548 from trunk.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.