wiki-eleves/app/urls.py

21 lines
588 B
Python
Raw Normal View History

2024-10-22 08:52:15 +02:00
from allauth_ens.views import capture_login, capture_logout
from django.contrib import admin
from django.urls import include, path
2024-10-22 08:52:15 +02:00
allauth_urls = [
# Catch login/logout views of admin site.
path("_admin/login/", capture_login),
path("_admin/logout/", capture_logout),
2024-10-22 08:52:15 +02:00
# Allauth urls.
path("_profil/", include("allauth.urls")),
2024-10-22 08:52:15 +02:00
]
urlpatterns = allauth_urls + [
path("_admin/", admin.site.urls),
path("notifications/", include("django_nyt.urls")),
path("_groups/", include("wiki_groups.urls")),
path("", include("wiki.urls")),
2024-10-22 08:52:15 +02:00
]
# TODO add MEDIA_ROOT