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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.