Opened 18 years ago
Closed 18 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: | no | UI/UX: | no |
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 by , 18 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(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.