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

Fixed #34205 -- Fixed Meta.constraints validation crash with ArrayField and __len lookup.

Regression in 88fc9e2826 that began
manifesting in Django 4.1.
This commit is contained in:
James Gillard
2022-12-10 15:46:23 +00:00
committed by Mariusz Felisiak
parent b8738aea14
commit c5ed884eab
4 changed files with 16 additions and 2 deletions

View File

@@ -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 <django.db.models.Options.constraints>`
(:ticket:`34205`).