From 6b0193146d3818d17d231b8e3d9fb38f06f55757 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 9 Aug 2022 06:08:48 +0200 Subject: [4.1.x] Fixed #33902 -- Fixed Meta.constraints validation crash with F() expressions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks Adam ZahradnĂ­k for the report. Bug in 667105877e6723c6985399803a364848891513cc. Backport of 63884829acd207404f2a5c3cc1d6b4cd0a822b70 from main --- docs/releases/4.1.1.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/4.1.1.txt b/docs/releases/4.1.1.txt index 2e61e3877d..dbac1ff926 100644 --- a/docs/releases/4.1.1.txt +++ b/docs/releases/4.1.1.txt @@ -29,3 +29,6 @@ Bugfixes * Fixed a regression in Django 4.1 that caused a migration crash on SQLite 3.35.5+ when removing an indexed field (:ticket:`33899`). + +* Fixed a bug in Django 4.1 that caused a crash of model validation on + ``UniqueConstraint()`` with field names in ``expressions`` (:ticket:`33902`). -- cgit v1.3