Opened 7 years ago

Closed 7 years ago

#6957 closed (fixed)

Old API in admin

Reported by: i_i 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 7 years ago by mtredinnick

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

comment:2 Changed 7 years ago by mtredinnick

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

(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