diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-05-12 20:10:55 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-05-14 10:34:30 +0200 |
| commit | f030236a86a64a4befd3cc8093e2bbeceef52a31 (patch) | |
| tree | 170718dd1a0685ee154ea7f6e3a52cae998a6062 /docs/releases/5.1.txt | |
| parent | ceaf1e2848583ba832cc74715da38c802b6b0671 (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.txt | 4 |
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 ~~~~~~~~~~~~~~~~~~~~~~ |
