1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

[5.1.x] Fixed #35594 -- Added unique nulls distinct validation for expressions.

Thanks Mark Gensler for the report.

Backport of adc0b6aac3 from main.
This commit is contained in:
Simon Charette
2024-07-13 22:18:21 -04:00
committed by Sarah Boyce
parent a2791f5ea2
commit 4d8e574379
3 changed files with 24 additions and 6 deletions

View File

@@ -9,4 +9,5 @@ Django 5.0.8 fixes several bugs in 5.0.7.
Bugfixes
========
* ...
* Added missing validation for ``UniqueConstraint(nulls_distinct=False)`` when
using ``*expressions`` (:ticket:`35594`).