summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkash Agrawal <akashrocksha@gmail.com>2019-08-10 22:38:00 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-08-11 16:30:44 +0200
commitbe4a2a0358fefeae33b22e55e9875cc757bf5101 (patch)
treea64dfc2e053640ab7fd4f1e848b17903a67b6569
parent8a3a3280209118265845003b7fe3554aa3cd6da4 (diff)
[2.2.x] Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs.
Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3. Backport of c1b26c77a94c13b350d80e9a2f8d0393dee737cd from master
-rw-r--r--docs/ref/migration-operations.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt
index d84fee2ade..f7778c2979 100644
--- a/docs/ref/migration-operations.txt
+++ b/docs/ref/migration-operations.txt
@@ -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``
--------------------