1
0
mirror of https://github.com/django/django.git synced 2024-11-18 15:34:16 +00:00
django/tests
Anssi Kääriäinen 8c72aa2379 Fixed qs.order_by() join promotion for already existing joins
When order_by causes new joins to be added to the query, the joins must
be LEFT OUTER joins for nullable relations, otherwise the order_by
could cause the results to be altered. This commit fixes the logic to
only promote new joins, previously all joins in the order_by lookup
path were promoted.

Thanks to Bruno Desthuilliers for spotting this corner case.
2012-05-24 18:42:06 +03:00
..
modeltests Fixed #18177 -- Cached known related instances. 2012-05-24 13:25:01 +02:00
regressiontests Fixed qs.order_by() join promotion for already existing joins 2012-05-24 18:42:06 +03:00
templates
runtests.py Commented on a line that inadvertantly slipped in commit 865cd35c 2012-05-05 16:45:02 +02:00
test_sqlite.py Use faster password hasher in sqlite tests 2012-04-30 22:10:27 +03:00
urls.py Made sure the new project template functionality works when the template 2011-12-29 17:03:38 +00:00