Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#14773 closed (fixed)

MultipleObjectMixin and subclasses should accept custom paginator class

Reported by: piquadrat Owned by: piquadrat
Component: Generic views Version: master
Severity: Keywords: paginator, class based generic views
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:


There are a couple of nice paginator classes floating around in the intertubes that extend on Django's built-in Paginator class (e.g. It would be great if these could be used with Django's class based generic views, e.g. ListView. The attached patch adds that feature to MultipleObjectMixin.

Attachments (1)

listview-custom-paginator.diff (4.0 KB) - added by piquadrat 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by piquadrat

comment:1 Changed 4 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [14828]) Fixed #14773 -- Modified MultipleObjectMixin to allow for custom paginators. Thanks to piquadrat for the report and initial patch.

comment:2 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.