Opened 14 years ago

Closed 14 years ago

Last modified 13 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: dev
Severity: Keywords: paginator, class based generic views
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no
Pull Requests:How to create a pull request

Description

There are a couple of nice paginator classes floating around in the intertubes that extend on Django's built-in Paginator class (e.g. http://djangosnippets.org/snippets/773/). 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.

Change History (3)

by Benjamin Wohlwend, 14 years ago

comment:1 by Russell Keith-Magee, 14 years ago

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 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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