diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-12-13 09:30:29 +0100 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-01-15 22:28:37 +0100 |
| commit | 85750bd2f8ed7e595aac25c7e5fd7218528a25b1 (patch) | |
| tree | 42859dcca836621a48e41617c0723807d07fd41c /docs | |
| parent | 4968f0012e7f97c613fcb71781c4e50874c31c15 (diff) | |
Refs #35234 -- Removed CheckConstraint.check per deprecation timeline.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/constraints.txt | 4 | ||||
| -rw-r--r-- | docs/releases/6.0.txt | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/docs/ref/models/constraints.txt b/docs/ref/models/constraints.txt index 897c122f05..99e5332ca3 100644 --- a/docs/ref/models/constraints.txt +++ b/docs/ref/models/constraints.txt @@ -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`` ==================== diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index 39a81e60e3..6969aed7f4 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -314,3 +314,5 @@ to remove usage of these features. ``Model.asave()`` is removed. * The setter for ``django.contrib.gis.gdal.OGRGeometry.coord_dim`` is removed. + +* The ``check`` keyword argument of ``CheckConstraint`` is removed. |
