1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #33468 -- Fixed QuerySet.aggregate() after annotate() crash on aggregates with default.

Thanks Adam Johnson for the report.
This commit is contained in:
Mariusz Felisiak
2022-01-31 11:33:24 +01:00
committed by GitHub
parent beb7ddbcee
commit 71e7c8e737
3 changed files with 19 additions and 1 deletions

View File

@@ -33,3 +33,7 @@ Bugfixes
* Fixed a duplicate operation regression in Django 4.0 that caused a migration
crash when altering a primary key type for a concrete parent model referenced
by a foreign key (:ticket:`33462`).
* Fixed a bug in Django 4.0 that caused a crash of ``QuerySet.aggregate()``
after ``annotate()`` on an aggregate function with a
:ref:`default <aggregate-default>` (:ticket:`33468`).