django1/django/db
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
..
backends [1.8.x] Fixed #24447 -- Made migrations add FK constraints for existing columns 2015-03-07 14:15:27 +01:00
migrations [1.8.x] Fixed #24435 -- Prevented m2m field removal and addition in migrations when changing blank 2015-03-04 15:44:38 +01:00
models [1.8.x] Fixed #24171 -- Fixed failure with complex aggregate query and expressions 2015-03-09 07:51:05 -04:00
__init__.py Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets from a different Django version. 2014-06-11 10:03:34 -04:00
transaction.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
utils.py [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00