diff options
| author | Simon Charette <charette.s@gmail.com> | 2022-11-22 21:49:12 -0500 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-11-23 17:46:07 +0100 |
| commit | 1297c0d0d76a708017fe196b61a0ab324df76954 (patch) | |
| tree | 95e6635d536eb24c7f7a1650628cad659041a948 /docs | |
| parent | d526d1569ca4a1e62bb6a1dd779d2068766d348c (diff) | |
Fixed #31679 -- Delayed annotating aggregations.
By avoiding to annotate aggregations meant to be possibly pushed to an
outer query until their references are resolved it is possible to
aggregate over a query with the same alias.
Even if #34176 is a convoluted case to support, this refactor seems
worth it given the reduction in complexity it brings with regards to
annotation removal when performing a subquery pushdown.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/4.2.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt index e7d2882edb..7b3ca37b35 100644 --- a/docs/releases/4.2.txt +++ b/docs/releases/4.2.txt @@ -395,6 +395,9 @@ Miscellaneous * The undocumented ``negated`` parameter of the :class:`~django.db.models.Exists` expression is removed. +* The ``is_summary`` argument of the undocumented ``Query.add_annotation()`` + method is removed. + .. _deprecated-features-4.2: Features deprecated in 4.2 |
