Opened 18 years ago
Closed 18 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: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
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.
Note:
See TracTickets
for help on using tickets.
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].