1
0
mirror of https://github.com/django/django.git synced 2024-12-27 19:46:22 +00:00
django/tests/aggregation_regress
Anssi Kääriäinen 3a0fe942dd [1.8.x] 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.

Backport of fb146193c4 from master
2015-03-09 07:51:05 -04:00
..
fixtures
__init__.py
models.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
tests.py [1.8.x] Fixed #24171 -- Fixed failure with complex aggregate query and expressions 2015-03-09 07:51:05 -04:00