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

Method remove_sql

django/contrib/postgres/constraints.py:146–151  ·  view source on GitHub ↗
(self, model, schema_editor)

Source from the content-addressed store, hash-verified

144 )
145
146 def remove_sql(self, model, schema_editor):
147 return schema_editor._delete_constraint_sql(
148 schema_editor.sql_delete_check,
149 model,
150 schema_editor.quote_name(self.name),
151 )
152
153 def deconstruct(self):
154 path, args, kwargs = super().deconstruct()

Callers

nothing calls this directly

Calls 2

quote_nameMethod · 0.45

Tested by

no test coverage detected