#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 |
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.
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | listview-custom-paginator.diff added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [14828]) Fixed #14773 -- Modified MultipleObjectMixin to allow for custom paginators. Thanks to piquadrat for the report and initial patch.