db.migrations.operations.AddField

class AddField(model_name, name, field, preserve_default=True) [source] Adds a field to a

2016-10-09 18:35:08
db.migrations.operations.AlterOrderWithRespectTo

class AlterOrderWithRespectTo(name, order_with_respect_to) [source] Makes or deletes the

2016-10-09 18:35:09
db.migrations.operations.CreateModel

class CreateModel(name, fields, options=None, bases=None, managers=None) [source] Creates

2016-10-09 18:35:09
db.migrations.operations.AlterModelTable

class AlterModelTable(name, table) [source] Changes the model’s table name (the

2016-10-09 18:35:09
db.migrations.operations.AlterModelOptions

class AlterModelOptions(name, options) [source] Stores changes to miscellaneous model options

2016-10-09 18:35:09
db.migrations.operations.AlterModelManagers

class AlterModelManagers(name, managers) [source] Alters the managers that are available

2016-10-09 18:35:09
db.migrations.operations.SeparateDatabaseAndState

class SeparateDatabaseAndState(database_operations=None, state_operations=None) [source] A

2016-10-09 18:35:11
db.migrations.operations.AlterIndexTogether

class AlterIndexTogether(name, index_together) [source] Changes the model’s set of custom

2016-10-09 18:35:08
db.migrations.operations.RunSQL.noop

RunSQL.noop Pass the RunSQL.noop attribute to sql or reverse_sql when you want the operation

2016-10-09 18:35:11
db.migrations.operations.AlterField

class AlterField(model_name, name, field, preserve_default=True) [source] Alters a field’s

2016-10-09 18:35:08