diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2013-02-21 11:12:08 +0200 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2013-02-21 12:01:23 +0200 |
| commit | 3c6318e831658b88ba7c3e04f315329071b25e34 (patch) | |
| tree | 8dd0fb8fbe38a726f5ddc62e4c88c0a7e975dd78 /scripts | |
| parent | 649118961ce3952138536235fc842921e39bfa33 (diff) | |
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 68985db48212c701a3d975636123a5d79bdc006f.
Thanks to Trac alias loic84 for report & tests.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
