db.backends.base.schema.SchemaEditor.connection

SchemaEditor.connection A connection object to the database. A useful attribute of the connection is alias which

2016-10-09 18:35:08
db.backends.base.schema.BaseDatabaseSchemaEditor.alter_db_table()

BaseDatabaseSchemaEditor.alter_db_table(model, old_db_table, new_db_table) [source] Renames

2016-10-09 18:35:06
db.backends.base.schema.BaseDatabaseSchemaEditor.alter_unique_together()

BaseDatabaseSchemaEditor.alter_unique_together(model, old_unique_together, new_unique_together) [source]

2016-10-09 18:35:07
db.backends.base.schema.BaseDatabaseSchemaEditor.alter_field()

BaseDatabaseSchemaEditor.alter_field(model, old_field, new_field, strict=False) [source] This

2016-10-09 18:35:06
db.backends.base.schema.BaseDatabaseSchemaEditor.execute()

BaseDatabaseSchemaEditor.execute(sql, params=[]) [source] Executes the SQL statement passed

2016-10-09 18:35:07
db.backends.base.schema.BaseDatabaseSchemaEditor.alter_db_tablespace()

BaseDatabaseSchemaEditor.alter_db_tablespace(model, old_db_tablespace, new_db_tablespace) [source] Moves

2016-10-09 18:35:06
db.backends.base.schema.BaseDatabaseSchemaEditor.add_field()

BaseDatabaseSchemaEditor.add_field(model, field) [source] Adds a column (or sometimes multiple)

2016-10-09 18:35:06
db.backends.base.schema.BaseDatabaseSchemaEditor.create_model()

BaseDatabaseSchemaEditor.create_model(model) [source] Creates a new table in the database

2016-10-09 18:35:07
db.backends.base.schema.BaseDatabaseSchemaEditor.remove_field()

BaseDatabaseSchemaEditor.remove_field(model, field) [source] Removes the column(s) representing

2016-10-09 18:35:07
db.backends.base.schema.BaseDatabaseSchemaEditor.alter_index_together()

BaseDatabaseSchemaEditor.alter_index_together(model, old_index_together, new_index_together) [source]

2016-10-09 18:35:07