From c1b26c77a94c13b350d80e9a2f8d0393dee737cd Mon Sep 17 00:00:00 2001 From: Akash Agrawal Date: Sat, 10 Aug 2019 22:38:00 +0530 Subject: [PATCH] Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs. Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3. --- docs/ref/migration-operations.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt index d84fee2ade5..f7778c29798 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 ` in the database table for +the model with ``model_name``. ``RemoveConstraint`` --------------------