kumidc/kumidc/urls.py

13 lines
495 B
Python
Raw Normal View History

2022-08-02 08:29:58 +00:00
from django.contrib import admin
2022-08-04 12:11:55 +00:00
from django.urls import path, re_path, include, reverse_lazy
from django.views.generic import RedirectView
2022-08-02 08:29:58 +00:00
urlpatterns = [
2022-08-04 12:11:55 +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),
re_path(r'^openid/', include('oidc_provider.urls', namespace='oidc_provider')),
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
]