django1/django/db/models
Mariusz Felisiak 673444da5e [3.0.x] Fixed #31217 -- Made QuerySet.values()/values_list() group by not selected annotations with aggregations used in order_by().
Regression in 59b4e99dd0.

Thanks Jon Dufresne for the report and Simon Charette for the review.
Backport of 6b178a3e93 from master
2020-02-03 07:48:53 +01:00
..
fields [3.0.x] Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited choices. 2020-01-15 15:36:28 +01:00
functions Fixed #30602 -- Made Extract raise ValueError when using unsupported lookups for DurationField. 2019-07-12 08:08:35 +02:00
sql [3.0.x] Fixed #31217 -- Made QuerySet.values()/values_list() group by not selected annotations with aggregations used in order_by(). 2020-02-03 07:48:53 +01:00
__init__.py Fixed #27910 -- Added enumeration helpers for use in Field.choices. 2019-09-04 14:42:49 +02:00
aggregates.py Fixed #30665 -- Added support for distinct argument to Avg() and Sum(). 2019-07-31 11:22:50 +02:00
base.py [3.0.x] Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures. 2019-12-30 08:30:44 +01:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
constraints.py Fixed #30062 -- Added support for unique conditional constraints. 2019-01-12 09:50:20 -05:00
deletion.py Fixed #30339 -- Made Model.delete(keep_parents=True) preserves nested parent reverse relationships. 2019-05-06 13:04:31 +02:00
enums.py [3.0.x] Fixed #31154 -- Added support for using enumeration types in templates. 2020-01-10 09:13:36 +01:00
expressions.py [3.0.x] Fixed #31094 -- Included columns referenced by subqueries in GROUP BY on aggregations. 2019-12-19 11:10:33 +01:00
indexes.py Fixed #30754 -- Prevented inclusion of aliases in partial index conditions. 2019-09-10 10:03:16 +02:00
lookups.py [3.0.x] Fixed #30771 -- Fixed exact lookup against queries with selected columns. 2019-09-20 11:14:39 +02:00
manager.py Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
options.py Refs #29444 -- Allowed returning multiple fields from INSERT statements on PostgreSQL. 2019-09-09 10:51:14 +02:00
query.py Refs #29444 -- Allowed returning multiple fields from INSERT statements on PostgreSQL. 2019-09-09 10:51:14 +02:00
query_utils.py [3.0.x] Fixed #31060 -- Reallowed window expressions to be used in conditions outside of queryset filters. 2019-12-06 15:28:23 +01:00
signals.py Fixed imports per isort 4.3.0. 2018-02-01 09:29:46 +01:00
utils.py Refs #27656 -- Updated django.db docstring verbs according to PEP 257. 2017-02-28 09:17:27 -05:00