Django

Code

Ticket #6957 (closed: fixed)

Opened 8 months ago

Last modified 8 months ago

Old API in admin

Reported by: i_i Assigned to: nobody
Milestone: Component: django.contrib.admin
Version: queryset-refactor Keywords:
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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.

Attachments

Change History

04/13/08 20:14:41 changed by mtredinnick

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

04/14/08 23:52:39 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(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.


Add/Change #6957 (Old API in admin)




Change Properties
Action