From b5a6c93a180e2c213e42f30a30bf63548a248957 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:32:08 +0100 Subject: Refs #34355 -- Removed support for positional arguments in BaseConstraint per deprecation timeline. --- docs/ref/models/constraints.txt | 4 ---- docs/releases/6.0.txt | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/ref/models/constraints.txt b/docs/ref/models/constraints.txt index c1f140c265..897c122f05 100644 --- a/docs/ref/models/constraints.txt +++ b/docs/ref/models/constraints.txt @@ -43,10 +43,6 @@ option. ``constraint_sql()``, ``create_sql()``, ``remove_sql()`` and ``validate()`` methods. - .. deprecated:: 5.0 - - Support for passing positional arguments is deprecated. - All constraints have the following parameters in common: ``name`` diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index fe54d371b7..87ac8de60f 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -255,7 +255,7 @@ in Django 6.0. See :ref:`deprecated-features-5.0` for details on these changes, including how to remove usage of these features. -* ... +* Support for passing positional arguments to ``BaseConstraint`` is removed. See :ref:`deprecated-features-5.1` for details on these changes, including how to remove usage of these features. -- cgit v1.3