kumidc/kumidc/urls.py

17 lines
606 B
Python
Raw Normal View History

2022-08-02 08:29:58 +00:00
from django.contrib import admin
from django.urls import path, include, reverse_lazy
2022-08-04 12:11:55 +00:00
from django.views.generic import RedirectView
2022-08-02 08:29:58 +00:00
urlpatterns = [
path('openid/', include('oidc_provider.urls', 'oidc_provider')),
path('saml/', include('djangosaml2idp.urls', 'djangosaml2idp')),
path('cas/', include('cas_server.urls', "cas_server")),
2022-08-22 09:37:16 +00:00
2022-08-05 06:03:29 +00:00
path('admin/login/', RedirectView.as_view(url=reverse_lazy("auth:login"), query_string=True)),
2022-08-02 08:29:58 +00:00
path('admin/', admin.site.urls),
2022-08-22 09:37:16 +00:00
2022-08-04 11:15:10 +00:00
path('auth/', include(("authentication.urls", "auth"))),
path('', include(("frontend.urls", "frontend"))),
2022-08-02 08:29:58 +00:00
]