roles: update_ous_roles() on post_migrate signal

This commit is contained in:
Benjamin Dauvergne 2020-05-16 13:31:31 +02:00
parent ad78ec407f
commit 0f480f9208
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ def post_migrate_handler(using, **kwargs):
if not router.allow_migrate(using, Role):
return
create_base_roles()
update_ous_roles()
def create_base_roles():