django1/django/db/models/sql
Anssi Kääriäinen 0c7633178f Fixed #24020 -- Refactored SQL compiler to use expressions
Refactored compiler SELECT, GROUP BY and ORDER BY generation.
While there, also refactored select_related() implementation
(get_cached_row() and get_klass_info() are now gone!).

Made get_db_converters() method work on expressions instead of
internal_type. This allows the backend converters to target
specific expressions if need be.

Added query.context, this can be used to set per-query state.

Also changed the signature of database converters. They now accept
context as an argument.
2015-01-08 14:07:54 -05:00
..
__init__.py Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
aggregates.py Renamed qn to compiler 2014-11-16 13:19:34 +01:00
compiler.py Fixed #24020 -- Refactored SQL compiler to use expressions 2015-01-08 14:07:54 -05:00
constants.py Fixed #24020 -- Refactored SQL compiler to use expressions 2015-01-08 14:07:54 -05:00
datastructures.py Fixed #21414 -- Removed RelatedObject and deprecated Field.related. 2014-12-23 10:54:25 -05:00
query.py Fixed #24020 -- Refactored SQL compiler to use expressions 2015-01-08 14:07:54 -05:00
subqueries.py Fixed #24020 -- Refactored SQL compiler to use expressions 2015-01-08 14:07:54 -05:00
where.py Fixed #23812 -- Changed django.utils.six.moves.xrange imports to range 2014-12-13 12:45:58 -05:00