1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Refs #34355 -- Removed support for positional arguments in BaseConstraint per deprecation timeline.

This commit is contained in:
Sarah Boyce
2024-12-12 16:32:08 +01:00
parent 810edfd742
commit b5a6c93a18
4 changed files with 2 additions and 37 deletions

View File

@@ -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``

View File

@@ -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.