Branch: refs/heads/master
Home: https://github.com/django/django
Commit: f51e409a5fb34020e170494320a421503689aea0
https://github.com/django/django/commit/f51e409a5fb34020e170494320a421503689aea0
Author: Anssi Kääriäinen <[email protected]>
Date: 2012-11-15 (Thu, 15 Nov 2012)
Changed paths:
M django/db/models/options.py
M django/db/models/query.py
M django/db/models/sql/compiler.py
M tests/regressiontests/select_related_onetoone/models.py
M tests/regressiontests/select_related_onetoone/tests.py
Log Message:
-----------
Fixed #13781 -- Improved select_related in inheritance situations
The select_related code got confused when it needed to travel a
reverse relation to a model which had different parent than the
originally travelled relation.
Thanks to Trac aliases shauncutts for report and ungenio for original
patch (committed patch is somewhat modified version of that).
--
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 https://groups.google.com/groups/opt_out.