Opened 14 years ago

Closed 14 years ago

#14900 closed (fixed)

Allow override of Admin paginator.

Reported by: Adam Vandenberg Owned by: nobody
Component: contrib.admin Version: dev
Severity: Keywords: admin pagination
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This patch allows the user to override the Paginator object used by the Admin changelist view. It is based on r14828 which adds this support to generic views. It also partially addresses #4065, in the sense that the user can now add a custom paginator that "disables" pagination, or always shows everything on page 1, etc.

Attachments (1)

admin-paginator.diff (9.1 KB ) - added by Adam Vandenberg 14 years ago.

Download all attachments as: .zip

Change History (3)

by Adam Vandenberg, 14 years ago

Attachment: admin-paginator.diff added

comment:1 by Julien Phalip, 14 years ago

Triage Stage: UnreviewedAccepted

I can't think of a reason why not, and the patch is looking good.

comment:2 by Jannis Leidel, 14 years ago

Resolution: fixed
Status: newclosed

(In [14997]) Fixed #14900 -- Added ability to override the paginator class used in a ModelAdmin. Thanks, Adam Vandenberg.

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