Opened 6 years ago

Closed 6 years ago

#14900 closed (fixed)

Allow override of Admin paginator.

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


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 adamv 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by adamv

comment:1 Changed 6 years ago by julien

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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

comment:2 Changed 6 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

(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