revert_proxy_model_permissions
Update the content_type of proxy model permissions to use the ContentType of the concrete model.
def revert_proxy_model_permissions(
apps: django.apps.registry.Apps,
schema_editor: django.db.backends.base.schema.BaseDatabaseSchemaEditor
)
Update the content_type of proxy model permissions to use the ContentType of the concrete model.
Parameters
| Name | Type | Description |
|---|---|---|
| apps | django.apps.registry.Apps | The registry of installed applications and their models at the specific state of the migration. |
| schema_editor | django.db.backends.base.schema.BaseDatabaseSchemaEditor | The database abstraction layer used to apply schema and data changes. |
Returns
| Type | Description |
|---|---|
| Nothing is returned; the function performs an in-place database migration. |