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

BaseDatabaseSchemaEditor.create_model(model) [source]

Creates a new table in the database for the provided model, along with any unique constraints or indexes it requires.

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

Please login to continue.