#10348: contrib.admin: select_related overwritten by
django.contrib.admin.views.ChangeList.get_query_set
-------------------------------------------+--------------------------------
Reporter: erny | Owner: nobody
Status: new | Milestone: 1.1
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords: efficient-admin
Stage: Accepted | Has_patch: 1
Needs_docs: 1 | Needs_tests: 1
Needs_better_patch: 1 |
-------------------------------------------+--------------------------------
Changes (by mmarshall):
* cc: [email protected] (added)
Comment:
Distinguishing between False and None feels hacky to me.
Would it work to have ChangeList.get_query_set only call select_related if
qs.query.select_related is False?
--
Ticket URL: <http://code.djangoproject.com/ticket/10348#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---