about summary refs log tree commit diff
path: root/gn_auth/auth/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth/views.py')
-rw-r--r--gn_auth/auth/views.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gn_auth/auth/views.py b/gn_auth/auth/views.py
index 6867f38..383dc9f 100644
--- a/gn_auth/auth/views.py
+++ b/gn_auth/auth/views.py
@@ -10,7 +10,9 @@ from .authorisation.roles.views import roles
 from .authorisation.resources.views import resources
 from .authorisation.privileges.views import privileges
 from .authorisation.resources.groups.views import groups
-from .authorisation.resources.system.views import system
+
+from .system.views import systembp
+
 
 oauth2 = Blueprint("oauth2", __name__)
 
@@ -20,6 +22,6 @@ oauth2.register_blueprint(users, url_prefix="/user")
 oauth2.register_blueprint(roles, url_prefix="/role")
 oauth2.register_blueprint(admin, url_prefix="/admin")
 oauth2.register_blueprint(groups, url_prefix="/group")
-oauth2.register_blueprint(system, url_prefix="/system")
 oauth2.register_blueprint(resources, url_prefix="/resource")
 oauth2.register_blueprint(privileges, url_prefix="/privileges")
+oauth2.register_blueprint(systembp, url_prefix="/system")