Please sign in to comment.
[1.6.x] Fixed #20955 -- select_related regression
In cases where the same connection (from model A to model B along the same field) was needed multiple times in a select_related query, the join setup code mistakenly reused an existing join. Backpatch of 8d65b60. Conflicts: django/db/models/sql/compiler.py tests/queries/tests.py
- Loading branch information...
Showing with 49 additions and 4 deletions.