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 SeparateDatabaseAndState(database_operations=None, state_operations=None) [source] A
class AlterModelOptions(name, options) [source] Stores changes to miscellaneous model options
class AlterModelManagers(name, managers) [source] Alters the managers that are available
class AlterIndexTogether(name, index_together) [source] Changes the model’s set of custom
class AlterUniqueTogether(name, unique_together) [source] Changes the model’s set of unique
RunSQL.noop Pass the RunSQL.noop attribute to sql or reverse_sql when you want the operation
Page 1 of 2