Opened 8 years ago

Closed 8 years ago

#6957 closed (fixed)

Old API in admin

Reported by: Ivan Illarionov Owned by: nobody
Component: contrib.admin Version: queryset-refactor
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

django/contrib/admin/views/main.py uses QuerySet._select_related attribute that doesn't exist anymore. It should use QuerySet.query.select_related instead.

Change History (2)

comment:1 Changed 8 years ago by Malcolm Tredinnick

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 8 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [7425]) Fixed #6957 -- Removed a stray reference to QuerySet._select_related and added
a way to copy the select_related() settings from an existing queryset.

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