Opened 16 years ago
Closed 14 years ago
#10457 closed (fixed)
date_based view archive_today should update kwargs for month/day_format
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Generic views | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Design decision needed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi,
I started using date_based generic views today. I call archive_day and archive_today with the same dictionary in the urls.py with a special month_format and/or day_format setting in the dictionary.
As archive_today uses a special month_format/day_format by default and calls archive_day it should set the correct month_format/day_format if a caller sets somethingelse.
Regards,
Dirk
Attachments (1)
Change History (4)
by , 16 years ago
Attachment: | date_based_kwargs.diff added |
---|
comment:1 by , 16 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
comment:2 by , 16 years ago
Component: | Uncategorized → Generic views |
---|---|
Has patch: | set |
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Function-based generic views were deprecated by the introduction of class-based views in [14254]. Class-based views should solve this problem.
archive_today always correct kwargs patch