mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
[2.2.x] Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs.
Follow up to8eae094638
. Backport ofc1b26c77a9
from master
This commit is contained in:
parent
8a3a328020
commit
be4a2a0358
1 changed files with 2 additions and 2 deletions
|
@ -214,8 +214,8 @@ Removes the index named ``name`` from the model with ``model_name``.
|
|||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
Creates a constraint in the database table for the model with ``model_name``.
|
||||
``constraint`` is an instance of :class:`~django.db.models.CheckConstraint`.
|
||||
Creates a :doc:`constraint </ref/models/constraints>` in the database table for
|
||||
the model with ``model_name``.
|
||||
|
||||
``RemoveConstraint``
|
||||
--------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue