django1/django/db/models/sql
Simon Charette e5a92d400a Fixed #33282 -- Fixed a crash when OR'ing subquery and aggregation lookups.
As a QuerySet resolves to Query the outer column references grouping logic
should be defined on the latter and proxied from Subquery for the cases where
get_group_by_cols is called on unresolved expressions.

Thanks Antonio Terceiro for the report and initial patch.
2021-12-02 07:23:33 +01:00
..
__init__.py Removed some outdated backwards compatibility imports and misleading comments. 2019-09-24 15:18:53 +02:00
compiler.py Fixed #33309 -- Fixed QuerySet.distinct() crash on mixed case annotation. 2021-11-23 20:43:20 +01:00
constants.py Fixed #31426 -- Added proper field validation to QuerySet.order_by(). 2020-04-06 10:19:49 +02:00
datastructures.py Fixed #32951 -- Removed Query.where_class & co. 2021-07-22 08:49:20 +02:00
query.py Fixed #33282 -- Fixed a crash when OR'ing subquery and aggregation lookups. 2021-12-02 07:23:33 +01:00
subqueries.py Refs #32946 -- Changed Query.add_filter() to take two arguments. 2021-07-28 09:38:42 +02:00
where.py Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() to create a shallow copy of children." 2021-09-30 11:26:17 +02:00