Opened 10 years ago

Closed 10 years ago

#6822 closed (duplicate)

date_based.archive_index should append _list to template_object_name

Reported by: Maura Chace Owned by: nobody
Component: Generic views Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


django.views.generic.date_based.archive_index is inconsistent in its handling of the template_object_name variable. The other views will append '_list' to the value of this parameter in determining the variable’s name (archive_year, archive_week, archive_month, archive_day). The archive_index view should be changed to reflect this behavior.

Change History (1)

comment:1 Changed 10 years ago by Ramiro Morales

Resolution: duplicate
Status: newclosed

This has been proposed before in #4619 and backward compatibility was deemed more important so that ticket got wontfix'ed. See also #3895 and [6157].

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