Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27889 closed Bug (fixed)

ModelAdmin ordering by pk fails check

Reported by: David Szotten Owned by: nobody
Component: contrib.admin Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

one of the admin checks (admin.E033) looks for ModelAdmin ordering to make sure the entries are valid, but it doesn't allow pk, which is a valid ordering

Change History (3)

comment:1 by Tim Graham, 8 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:2 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In d82ee32:

Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to 'pk'.

comment:3 by Tim Graham <timograham@…>, 8 years ago

In 93c8e2d5:

[1.11.x] Fixed #27889 -- Fixed incorrect check error if ModelAdmin.ordering refers to 'pk'.

Backport of d82ee32aac323b7260cc95278c69b81d98dbd00a from master

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