Opened 14 years ago
Closed 14 years ago
#14631 closed (wontfix)
Provide paginating for date-based generic views
Reported by: | Kevin Renskers | Owned by: | nobody |
---|---|---|---|
Component: | Generic views | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Łukasz Rekucki | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The generic view django.views.generic.list_detail.object_list provides a parameter paginate_by.
Sadly none of the django.views.generic.date_based views provide that same parameter, which seems like an omission?
Note:
See TracTickets
for help on using tickets.
Old generic views are deprecated in Django 1.3, so I don't think there will be any new features added to them. Instead you should give class-based generic views a try. All date related views provide paginations by including the MultiplyObjectMixin. Feedback on the new API more then welcome.