django1/django/db/models
Mariusz Felisiak 7b8fa1653f Fixed #31150 -- Included subqueries that reference related fields in GROUP BY clauses.
Thanks Johannes Hoppe for the report.

Regression in fb3f034f1c.

Co-authored-by: Simon Charette <charette.s@gmail.com>
2020-03-03 11:25:37 +01:00
..
fields Fixed #31310 -- Fixed hints in checks for using intermediate model with ambiguous foreign key. 2020-02-28 08:38:57 +01:00
functions Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
sql Fixed #31246 -- Fixed locking models in QuerySet.select_for_update(of=()) for related fields and parent link fields with multi-table inheritance. 2020-02-11 20:43:57 +01:00
__init__.py Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
aggregates.py Fixed #30665 -- Added support for distinct argument to Avg() and Sum(). 2019-07-31 11:22:50 +02:00
base.py Refs #31187 -- Added total_unique_constraints property to model's Options. 2020-02-19 09:36:19 +01:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
constraints.py Fixed #30484 -- Added conditional expressions support to CheckConstraint. 2019-11-21 11:56:35 +01:00
deletion.py Fixed #31219 -- Fixed object deletion crash for nested protected related objects. 2020-01-31 09:07:58 +01:00
enums.py Fixed #31154 -- Added support for using enumeration types in templates. 2020-01-10 07:52:06 +01:00
expressions.py Fixed #31150 -- Included subqueries that reference related fields in GROUP BY clauses. 2020-03-03 11:25:37 +01:00
indexes.py Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols). 2019-11-21 11:56:35 +01:00
lookups.py Refs #25367 -- Moved conditional expression wrapping to the Exact lookup. 2019-11-21 11:56:35 +01:00
manager.py Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
options.py Refs #31187 -- Added total_unique_constraints property to model's Options. 2020-02-19 09:36:19 +01:00
query.py Fixed #31233 -- Closed database connections and cursors after use. 2020-02-06 15:35:23 +01:00
query_utils.py Simplified DeferredAttribute.__get__() a bit. 2020-01-29 16:06:56 +01:00
signals.py Fixed imports per isort 4.3.0. 2018-02-01 09:29:46 +01:00
utils.py Refs #31046 -- Added django.db.models.utils.resolve_callables(). 2019-12-03 19:47:32 +01:00