Add management command to perform steps required after an upgrade.
This commit is contained in:
7
mayan/apps/permissions/handlers.py
Normal file
7
mayan/apps/permissions/handlers.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.core import management
|
||||
|
||||
|
||||
def purge_permissions(**kwargs):
|
||||
management.call_command('purgepermissions')
|
||||
Reference in New Issue
Block a user