From af3cfc863095e70f752c6b1875ed5c5dbaac2c4a Mon Sep 17 00:00:00 2001 From: James Gillard Date: Sat, 10 Dec 2022 15:46:23 +0000 Subject: [4.1.x] Fixed #34205 -- Fixed Meta.constraints validation crash with ArrayField and __len lookup. Regression in 88fc9e2826044110b7b22577a227f122fe9c1fb5 that began manifesting in Django 4.1. Backport of c5ed884eabf3b2b67581c55bf6c87e721f69157f from main. --- docs/releases/4.1.5.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/4.1.5.txt b/docs/releases/4.1.5.txt index 57d46f204b..40af9eecb1 100644 --- a/docs/releases/4.1.5.txt +++ b/docs/releases/4.1.5.txt @@ -9,4 +9,7 @@ Django 4.1.5 fixes several bugs in 4.1.4. Bugfixes ======== -* ... +* Fixed a long standing bug in the ``__len`` lookup for ``ArrayField`` that + caused a crash of model validation on + :attr:`Meta.constraints ` + (:ticket:`34205`). -- cgit v1.3