diff options
| author | Simon Charette <charette.s@gmail.com> | 2025-02-19 03:04:16 -0500 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-08-04 09:42:32 +0200 |
| commit | b3bb7230e1225861b5c1f08931f2d82c2b04133a (patch) | |
| tree | 0832739f5f549254b63f1c4fbeb42040e241de2b /docs | |
| parent | e5ccb69bc3da407ab2b0477c0cc5db27c7207225 (diff) | |
[5.2.x] 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.
Backport of 079d31e698fa08dd92e2bc4f3fe9b4817a214419 from main.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.2.5.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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`). |
