db.backends.base.schema.BaseDatabaseSchemaEditor.alter_index_together()

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

Changes a model’s index_together value; this will add or remove indexes from the model’s table until they match the new value.

doc_Django
2016-10-09 18:35:07
Comments
Leave a Comment

Please login to continue.