diff options
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. |
