소스 검색

Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs.

Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3.
Akash Agrawal 5 년 전
부모
커밋
c1b26c77a9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      docs/ref/migration-operations.txt

+ 2 - 2
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``
 --------------------