db.migrations.operations.AlterModelOptions

class AlterModelOptions(name, options) [source]

Stores changes to miscellaneous model options (settings on a model’s Meta) like permissions and verbose_name. Does not affect the database, but persists these changes for RunPython instances to use. options should be a dictionary mapping option names to values.

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

Please login to continue.