django1/django/db/models
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
..
fields Fixed #24381 -- removed ForeignObjectRel opts and to_opts 2015-02-23 07:24:43 -05:00
sql Fixed #24171 -- Fixed failure with complex aggregate query and expressions 2015-03-09 07:49:23 -04:00
__init__.py Removed deprecated aliases in django.db.models. 2015-01-17 14:57:34 -05:00
aggregates.py Update converters to take a consistent set of parameters. 2015-02-20 11:35:52 +00:00
base.py Fixed #24418 -- Prevented crash in refresh_from_db with null fk 2015-02-27 20:23:07 +01:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
deletion.py Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many. 2015-02-14 02:28:24 +07:00
expressions.py Fixed #24420 -- Allowed ordering by case expressions 2015-03-06 13:30:02 +11:00
functions.py Fixed #24183 -- Fixed wrong comparisons in Substr 2015-01-20 12:09:15 +11:00
lookups.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
manager.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
options.py Fixed #24328 -- cleaned up Options._get_fields() implementation 2015-02-20 13:00:12 -05:00
query.py Fixed #24343 -- Ensure db converters are used for foreign keys. 2015-02-20 11:35:51 +00:00
query_utils.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
signals.py Removed pre_syncdb and post_syncdb signals per deprecation timeline. 2015-01-17 09:07:00 -05:00