mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #35234 -- Removed CheckConstraint.check per deprecation timeline.
This commit is contained in:
parent
4968f0012e
commit
85750bd2f8
4 changed files with 3 additions and 56 deletions
|
@ -123,10 +123,6 @@ ensures the age field is never less than 18.
|
|||
|
||||
CheckConstraint(condition=Q(age__gte=18) | Q(age__isnull=True), name="age_gte_18")
|
||||
|
||||
.. deprecated:: 5.1
|
||||
|
||||
The ``check`` attribute is deprecated in favor of ``condition``.
|
||||
|
||||
``UniqueConstraint``
|
||||
====================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue