mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #30484 -- Added conditional expressions support to CheckConstraint.
This commit is contained in:
parent
37e6c5b79b
commit
e9a0e1d4f6
7 changed files with 84 additions and 19 deletions
|
@ -204,6 +204,8 @@ Models
|
|||
``OneToOneField`` emulates the behavior of the SQL constraint ``ON DELETE
|
||||
RESTRICT``.
|
||||
|
||||
* :attr:`.CheckConstraint.check` now supports boolean expressions.
|
||||
|
||||
Pagination
|
||||
~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue