django1/django/db/models/sql
Anssi Kääriäinen fb146193c4 Fixed #24171 -- Fixed failure with complex aggregate query and expressions
The query used a construct of qs.annotate().values().aggregate() where
the first annotate used an F-object reference and the values() and
aggregate() calls referenced that F-object.

Also made sure the inner query's select clause is as simple as possible,
and made sure .values().distinct().aggreate() works correctly.
2015-03-09 07:49:23 -04:00
..
__init__.py Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
aggregates.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
compiler.py Update converters to take a consistent set of parameters. 2015-02-20 11:35:52 +00: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 #24171 -- Fixed failure with complex aggregate query and expressions 2015-03-09 07:49:23 -04:00
subqueries.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
where.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00