Refs #35234 -- Removed CheckConstraint.check per deprecation timeline.

This commit is contained in:
Sarah Boyce 2024-12-13 09:30:29 +01:00
parent 4968f0012e
commit 85750bd2f8
4 changed files with 3 additions and 56 deletions

View file

@ -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``
====================