#19080: ChangeList.get_queryset() automatically applies select_related() in a
very
"brute" way
--------------------------------------+------------------------------------
Reporter: bberes | Owner: bberes
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: 1.4
Severity: Normal | Resolution:
Keywords: performance | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by oinopion):
I've added pull request for this ticket:
https://github.com/django/django/pull/1245
It implements finer control over select_related, allowing setting this
attribute to a tuple. Empty tuple disables select related and any other is
passed as arguments to select_related.
--
Ticket URL: <https://code.djangoproject.com/ticket/19080#comment:3>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.d634721d41efc3ed88f6c5a23c6400fa%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.