db.models.Options.default_permissions

Options.default_permissions

Defaults to ('add', 'change', 'delete'). You may customize this list, for example, by setting this to an empty list if your app doesn’t require any of the default permissions. It must be specified on the model before the model is created by migrate in order to prevent any omitted permissions from being created.

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

Please login to continue.