#12851: Queryset "defer" won't work properly with select_related
---------------------------------------------------+------------------------
Reporter: ruosteinen | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: 1.2-beta
Resolution: | Keywords:
select_related, defer, nesting, query
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by carljm):
I haven't played with this yet, but your repro code doesn't look right. I
would expect an assertion error with that code: pm.target.location should
be 'Earth' not 'bug'.
--
Ticket URL: <http://code.djangoproject.com/ticket/12851#comment:3>
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.