Opened 7 years ago

Closed 7 years ago

#6822 closed (duplicate)

date_based.archive_index should append _list to template_object_name

Reported by: minarets 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:

Description

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 7 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

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