--
Ticket URL: <https://code.djangoproject.com/ticket/16856>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
Comment:
There was a clear consensus on this API in #django-dev.
--
Ticket URL: <https://code.djangoproject.com/ticket/16856#comment:1>
* cc: jdunck@… (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/16856#comment:2>
* cc: seldon (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/16856#comment:3>
* cc: botondus@… (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/16856#comment:4>
Comment (by bberes):
For anyone reading this, the undocumented hacky way to do this is:
`qs.query.select_related = False`
--
Ticket URL: <https://code.djangoproject.com/ticket/16856#comment:5>
Comment (by dcramer):
Patch is here
https://github.com/django/django/pull/665
--
Ticket URL: <https://code.djangoproject.com/ticket/16856#comment:6>
* cc: timograham@… (added)
* has_patch: 0 => 1
Comment:
Added a release note & brought patch up to date.
https://github.com/django/django/pull/1234
--
Ticket URL: <https://code.djangoproject.com/ticket/16856#comment:7>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"5074c75a37f88726f3ae057999144545881d3cfc"]:
{{{
#!CommitTicketReference repository=""
revision="5074c75a37f88726f3ae057999144545881d3cfc"
Fixed #16856 - Added a way to clear select_related.
Thanks Carl for the suggestion and David Cramer for the patch.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/16856#comment:8>