Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14773 closed (fixed)

MultipleObjectMixin and subclasses should accept custom paginator class

Reported by: Benjamin Wohlwend Owned by: Benjamin Wohlwend
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 Benjamin Wohlwend 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Benjamin Wohlwend

comment:1 Changed 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

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

comment:2 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top