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

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

Renames the model’s table from old_db_table to new_db_table.

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

Please login to continue.