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

Please login to continue.