Byrokracie Sklené 2023
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
438 B

from django.urls import path
from . import views
from django.views.generic.base import RedirectView
urlpatterns = [
path("prihlasit/", views.LoginView.as_view(), name="login"),
path("login/", RedirectView.as_view(pattern_name="login", permanent=True, query_string=True)),
path("odhlasit/", views.LogoutView.as_view(), name="logout"),
path("logout/", RedirectView.as_view(pattern_name="logout", permanent=True, query_string=True)),