From 079d31e698fa08dd92e2bc4f3fe9b4817a214419 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Wed, 19 Feb 2025 03:04:16 -0500 Subject: Fixed #34871, #36518 -- Implemented unresolved lookups expression replacement. This allows the proper resolving of lookups when performing constraint validation involving Q and Case objects. Thanks Andrew Roberts for the report and Sarah for the tests and review. --- docs/releases/5.2.5.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.2.5.txt b/docs/releases/5.2.5.txt index 7708563857..bdb78d0c63 100644 --- a/docs/releases/5.2.5.txt +++ b/docs/releases/5.2.5.txt @@ -15,3 +15,7 @@ Bugfixes * Fixed a crash in Django 5.2 when filtering against a composite primary key using a tuple containing expressions (:ticket:`36522`). + +* Fixed a crash in Django 5.2 when validating a model that uses + ``GeneratedField`` or constraints composed of ``Q`` and ``Case`` lookups + (:ticket:`36518`). -- cgit v1.3