Code

Opened 4 years ago

Closed 4 years ago

#14631 closed (wontfix)

Provide paginating for date-based generic views

Reported by: Renskers Owned by: nobody
Component: Generic views Version: 1.2
Severity: Keywords:
Cc: lrekucki Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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?

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by lrekucki

  • Cc lrekucki added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.