django1/django
Anssi Kääriäinen cea7204504 Fixed #14056 -- Made sure LEFT JOIN aren't trimmed in ORDER BY
If LEFT JOINs are required for correct results, then trimming the join
can lead to incorrect results. Consider case:

TBL A: ID | TBL B: ID  A_ID
       1           1   1
       2
Now A.order_by('b__a') did use a join to B, and B's a_id column. This
was seen to contain the same value as A's id, and so the join was
trimmed. But this wasn't correct as the join is LEFT JOIN, and for row
A.id = 2 the B.a_id column is NULL.
2013-08-21 22:30:46 +01:00
..
bin Removed daily_cleanup.py script as per deprecation TL. 2013-06-28 21:48:16 -03:00
conf Merge remote-tracking branch 'core/master' into schema-alteration 2013-08-19 18:30:48 +01:00
contrib Merge remote-tracking branch 'core/master' into schema-alteration 2013-08-19 18:30:48 +01:00
core Change autodetector changes API to be just one method 2013-08-21 22:25:15 +01:00
db Fixed #14056 -- Made sure LEFT JOIN aren't trimmed in ORDER BY 2013-08-21 22:30:46 +01:00
dispatch Fixed #20943 -- Weakly reference senders when caching their associated receivers 2013-08-21 22:30:45 +01:00
forms Fixed #20555 -- Make subwidget id attribute available 2013-08-13 13:23:05 -04:00
http Fixed #19987 -- Disabled host validation when DEBUG=True. 2013-07-31 10:38:59 -04:00
middleware Deprecated SortedDict (replaced with collections.OrderedDict) 2013-08-04 07:09:39 -04:00
shortcuts More import removals 2013-06-29 11:58:36 +02:00
template Fixed #20709 -- Allowed {% widthratio %} to accept an "as" parameter. 2013-08-14 12:40:19 -04:00
templatetags Fixed #20130 -- Regression in {% cache %} template tag. 2013-03-30 12:13:08 +01:00
test Merge remote-tracking branch 'core/master' into schema-alteration 2013-08-19 18:30:48 +01:00
utils Avoid importing the deprecated `django.utils.importlib` package. 2013-08-21 22:30:02 +01:00
views Unlocalize line numbers and ids in debug 500 view. 2013-08-12 21:59:27 -03:00
__init__.py Master is now pre-1.7. 2013-06-28 08:56:45 -05:00