MCPcopy
hub / github.com/django/django / remove_sql

Method remove_sql

django/db/models/constraints.py:209–210  ·  view source on GitHub ↗
(self, model, schema_editor)

Source from the content-addressed store, hash-verified

207 return schema_editor._create_check_sql(model, self.name, check)
208
209 def remove_sql(self, model, schema_editor):
210 return schema_editor._delete_check_sql(model, self.name)
211
212 def validate(self, model, instance, exclude=None, using=DEFAULT_DB_ALIAS):
213 against = instance._get_field_expression_map(meta=model._meta, exclude=exclude)

Callers

nothing calls this directly

Calls 1

_delete_check_sqlMethod · 0.80

Tested by

no test coverage detected