Opened 8 years ago

Closed 8 years ago

#7670 closed (fixed)

Missing import for 'QuerySetPaginator' in /django/contrib/admin/views/main.py

Reported by: Kegan Gan Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords: QuerySetPaginator, Paginator
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

Description

For django-trunk rev 7867, "global name 'QuerySetPaginator' is not defined" error in /django/contrib/admin/views/main.py, while using the Admin interface.

Patch is to replace QuerySetPaginator with Paginator in line 614.

Attachments (1)

ticket-7670.patch (1.2 KB) - added by John Shaffer 8 years ago.
Replace QuerySetPaginator with Paginator.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by John Shaffer

Attachment: ticket-7670.patch added

Replace QuerySetPaginator with Paginator.

comment:1 Changed 8 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [7869]) Fixed #7670 -- Fixed a couple of missed changes from [7865]. Patch from jshaffer.

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