Opened 20 years ago
Closed 20 years ago
#375 closed defect (invalid)
Naming inconsistency in date_based.py
| Reported by: | Dagur Páll Ammendrup | Owned by: | Jacob |
|---|---|---|---|
| Component: | Generic views | Version: | |
| Severity: | minor | Keywords: | generic views date_based naming inconsitency |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The functions archive_index() and archive_year() use "date_list" as the name of the object with the list of objects returned by the query, but the functions archive_month() and archive_day() use "object_list".
I propose that the latter name is used :-)
Note:
See TracTickets
for help on using tickets.