HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
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 68985db. Thanks to Trac alias loic84 for report & tests.
- Loading branch information...
Showing with 35 additions and 5 deletions.