[4.1.x] Fixed #34016 -- Fixed QuerySet.values()/values_list() crash on ArrayAgg() and JSONBAgg().

Regression in e06dc4571e.

Backport of f88fc72da4 from main
This commit is contained in:
Alexander Kerkum 2022-09-16 16:47:50 +02:00 committed by Mariusz Felisiak
parent 0859093f7c
commit 2d20386b41
3 changed files with 18 additions and 2 deletions

View file

@ -18,3 +18,7 @@ Bugfixes
* Fixed a bug in Django 4.1 that caused an incorrect validation of
``CheckConstraint`` on ``NULL`` values (:ticket:`33996`).
* Fixed a regression in Django 4.1 that caused a
``QuerySet.values()/values_list()`` crash on ``ArrayAgg()`` and
``JSONBAgg()`` (:ticket:`34016`).