eaa3d11df8
* api: make API urls modular load API urls from app module's urls file instead of a single static file Signed-off-by: Jens Langhammer <jens@goauthentik.io> * refactor websocket url mounting Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
9 lines
247 B
Python
9 lines
247 B
Python
"""API URLs"""
|
|
from authentik.policies.api.bindings import PolicyBindingViewSet
|
|
from authentik.policies.api.policies import PolicyViewSet
|
|
|
|
api_urlpatterns = [
|
|
("policies/all", PolicyViewSet),
|
|
("policies/bindings", PolicyBindingViewSet),
|
|
]
|