Web M&M
https://mam.matfyz.cz
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.
15 lines
922 B
15 lines
922 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)),
|
|
path('reset-hesla/', views.PasswordResetView.as_view(), name='reset_password'),
|
|
path('zmena-hesla/', views.PasswordChangeView.as_view(), name='change_password'),
|
|
path('reset-hesla/2/', views.PasswordResetDoneView.as_view(), name='reset_password_done'),
|
|
path('reset-hesla/potvrzeni/<uidb64>/<token>/', views.PasswordResetConfirmView.as_view(), name='reset_password_confirm'),
|
|
path('reset-hesla/hotovo/', views.PasswordResetCompleteView.as_view(), name='reset_password_complete'),
|
|
]
|
|
|