django/tests/regressiontests/select_related_regress
Anssi Kääriäinen 3c6318e831 Fixed #19870 -- Regression in select_related in inheritance cases
There was a regression in case two models inherited the same parent,
and one contained a foreign key to other. When select_related travelled
the foreign key the other model reused the parent join made by the
first model. This was likely caused by Query.join_parent_model()
addition in commit 68985db482.

Thanks to Trac alias loic84 for report & tests.
2013-02-21 12:01:23 +02:00
..
__init__.py Fixed handling of multiple fields in a model pointing to the same related model. 2008-06-29 02:36:18 +00:00
models.py Fixed #19870 -- Regression in select_related in inheritance cases 2013-02-21 12:01:23 +02:00
tests.py Fixed #19870 -- Regression in select_related in inheritance cases 2013-02-21 12:01:23 +02:00