django1/django/db/models/sql
Anssi Kääriäinen f51e409a5f Fixed #13781 -- Improved select_related in inheritance situations
The select_related code got confused when it needed to travel a
reverse relation to a model which had different parent than the
originally travelled relation.

Thanks to Trac aliases shauncutts for report and ungenio for original
patch (committed patch is somewhat modified version of that).
2012-11-15 17:15:21 +02:00
..
__init__.py Remove all relative imports. We have always been at war with relative imports. 2011-10-18 00:47:49 +00:00
aggregates.py Fixed #17728 -- When filtering an annotation, ensured the values used in the filter are properly converted to their database representation. This bug was particularly visible with timezone-aware DateTimeFields. Thanks gg for the report and Carl for the review. 2012-02-22 19:40:27 +00:00
compiler.py Fixed #13781 -- Improved select_related in inheritance situations 2012-11-15 17:15:21 +02:00
constants.py Removed dupe_avoidance from sql/query and sql/compiler.py 2012-10-31 08:19:44 +02:00
datastructures.py Refactored the empty/full result logic in WhereNode.as_sql() 2012-07-01 17:21:34 +03:00
expressions.py Avoided storing ExpressionNodes in dicts 2012-09-30 17:50:56 +03:00
query.py Removed use of SortedDict for query.alias_refcount 2012-11-13 22:48:25 +02:00
subqueries.py Fixed #19190 -- Refactored Query select clause attributes 2012-10-27 02:13:02 +03:00
where.py [py3] Added Python 3 compatibility for xrange. 2012-07-22 09:29:56 +02:00