summaryrefslogtreecommitdiff
path: root/docs/releases/5.1.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-05-12 20:10:55 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-05-14 10:34:30 +0200
commitf030236a86a64a4befd3cc8093e2bbeceef52a31 (patch)
tree170718dd1a0685ee154ea7f6e3a52cae998a6062 /docs/releases/5.1.txt
parentceaf1e2848583ba832cc74715da38c802b6b0671 (diff)
Fixed #35275 -- Fixed Meta.constraints validation crash on UniqueConstraint with OpClass().
This also introduces Expression.constraint_validation_compatible that allows specifying that expression should be ignored during a constraint validation.
Diffstat (limited to 'docs/releases/5.1.txt')
-rw-r--r--docs/releases/5.1.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt
index f2a6bccb0c..f068f3e96b 100644
--- a/docs/releases/5.1.txt
+++ b/docs/releases/5.1.txt
@@ -281,6 +281,10 @@ Models
reload a model's value. This can be used to lock the row before reloading or
to select related objects.
+* The new :attr:`.Expression.constraint_validation_compatible` attribute allows
+ specifying that the expression should be ignored during a constraint
+ validation.
+
Requests and Responses
~~~~~~~~~~~~~~~~~~~~~~