From 85750bd2f8ed7e595aac25c7e5fd7218528a25b1 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:30:29 +0100 Subject: Refs #35234 -- Removed CheckConstraint.check per deprecation timeline. --- docs/ref/models/constraints.txt | 4 ---- docs/releases/6.0.txt | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'docs') 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. -- cgit v1.3