diff options
author | Frederick Muriuki Muriithi | 2024-09-16 15:20:23 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-16 15:20:23 -0500 |
commit | c1785a946638e094903fe0261ccc865530298dc2 (patch) | |
tree | ea1e1dd15006cfb8fd0b2a4a75cabdfee007cb13 /gn_auth/auth/views.py | |
parent | 3c47081696e5a81f70e4ed509267725bc904434c (diff) | |
download | gn-auth-c1785a946638e094903fe0261ccc865530298dc2.tar.gz |
Rename blueprint and register it one level lower
Register the populations/inbredset blueprint with the "resources"
blueprint rather than at the higher level "auth" blueprint to retain
the hierarchy of the blueprints and make maintenance arguably easier.
Diffstat (limited to 'gn_auth/auth/views.py')
-rw-r--r-- | gn_auth/auth/views.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gn_auth/auth/views.py b/gn_auth/auth/views.py index 17fc94b..6867f38 100644 --- a/gn_auth/auth/views.py +++ b/gn_auth/auth/views.py @@ -11,7 +11,6 @@ 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 .authorisation.resources.inbredset.views import iset oauth2 = Blueprint("oauth2", __name__) @@ -24,4 +23,3 @@ 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(iset, url_prefix="/resource/inbredset") |