From daf7d482dbaaa2604241a994c49f442fa15142c1 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Mon, 26 Feb 2024 00:14:26 -0500 Subject: Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition. Once the deprecation period ends CheckConstraint.check() can become the documented method that performs system checks for BaseConstraint subclasses. --- docs/internals/deprecation.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 8072075864..c0965f676b 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -77,6 +77,8 @@ details on these changes. * ``django.urls.register_converter()`` will no longer allow overriding existing converters. +* The ``check`` keyword argument of ``CheckConstraint`` will be removed. + .. _deprecation-removed-in-5.1: 5.1 -- cgit v1.3