BaseDatabaseSchemaEditor.remove_field(model, field)
[source]
Removes the column(s) representing the field from the model’s table, along with any unique constraints, foreign key constraints, or indexes caused by that field.
If the field is a ManyToManyField without a value for through
, it will remove the table created to track the relationship. If through
is provided, it is a no-op.
Please login to continue.