summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2013-03-15 10:55:12 +0200
committerAnssi Kääriäinen <akaariai@gmail.com>2013-03-15 11:06:26 +0200
commit2a2708e1b2a0e02fc4fdd4b050d60fb0033dfdde (patch)
treeb2a19fad23262ce91ac6d09ab80a0ba2d4e5a190 /docs
parent3f2befc93163e0666dcc4f745288b98306de4b8e (diff)
Fixed #17502 -- Made joining in inheritance cases consistent
The original problem was that when filtering two levels up in inheritance chain, Django optimized the join generation so that the middle model was skipped. But then Django generated joins from top to middle to bottom for SELECT clause, and thus there was one extra join (top->middle->bottom + top -> bottom). This case is fixed in master as the filtering optimization is gone. This has the side effect that in some cases there is still extra join if the SELECT clause doesn't contain anything from middle or bottom.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions