django-cats/cats/urls.py

13 lines
439 B
Python
Raw Permalink Normal View History

# URL configuration for cats
from django.contrib.auth.views import LogoutView
from django.urls import path
from cats.views import CertificateLoginView, home_page, switch_language
urlpatterns = [
path("", home_page, name="home"),
path("switch-language", switch_language, name="switch_language"),
path("auth/login", CertificateLoginView.as_view(), name="login"),
path("auth/logout", LogoutView.as_view(), name="logout"),
]