Opened 4 years ago

Closed 4 years ago

Last modified 4 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:

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)

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 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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