class AddField(model_name, name, field, preserve_default=True) [source] Adds a field to a
class AlterOrderWithRespectTo(name, order_with_respect_to) [source] Makes or deletes the
class CreateModel(name, fields, options=None, bases=None, managers=None) [source] Creates
class AlterModelTable(name, table) [source] Changes the model’s table name (the
class AlterModelOptions(name, options) [source] Stores changes to miscellaneous model options
class AlterModelManagers(name, managers) [source] Alters the managers that are available
class SeparateDatabaseAndState(database_operations=None, state_operations=None) [source] A
class AlterIndexTogether(name, index_together) [source] Changes the model’s set of custom
RunSQL.noop Pass the RunSQL.noop attribute to sql or reverse_sql when you want the operation
class AlterField(model_name, name, field, preserve_default=True) [source] Alters a field’s
Page 1 of 2