mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs.
Follow up to 8eae094638.
			
			
This commit is contained in:
		
				
					committed by
					
						 Mariusz Felisiak
						Mariusz Felisiak
					
				
			
			
				
	
			
			
			
						parent
						
							af08a54415
						
					
				
				
					commit
					c1b26c77a9
				
			| @@ -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`` | ||||
| -------------------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user