#7270: selected_related() can not follow reverse relations of OneToOne.
---------------------------------------------------+------------------------
Reporter: [email protected] | Owner:
mtredinnick
Status: new | Milestone: 1.2
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
select_related onetoone reverse
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Changes (by bendavis78):
* needs_better_patch: 1 => 0
Comment:
aiev, thanks. That seemed to fix the problem I was having :-) Although
you left out the change I made in the last patch that forces the join to
always be LEFT OUTER, as mtredinnick explained above. I've attached an
updated patch.
--
Ticket URL: <http://code.djangoproject.com/ticket/7270#comment:36>
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
-~----------~----~----~----~------~----~------~--~---