grandlyon: use direct imports for rbac models

This commit is contained in:
Frédéric Péters 2022-11-21 14:42:02 +01:00
parent 7f71a181c7
commit 2a61326821
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import os
import json
import sys
from django_rbac.utils import get_role_model, get_ou_model
from authentic2.a2_rbac.models import OrganizationalUnit, Role
Ou = get_ou_model()
Role = get_role_model()