|
@ -136,7 +136,7 @@ urlpatterns = [ |
|
|
path('prihlasit/', views.LoginView.as_view(), name='login'), |
|
|
path('prihlasit/', views.LoginView.as_view(), name='login'), |
|
|
path('login/', RedirectView.as_view(pattern_name='login', permanent=True, query_string=True)), |
|
|
path('login/', RedirectView.as_view(pattern_name='login', permanent=True, query_string=True)), |
|
|
path('odhlasit/', views.LogoutView.as_view(), name='logout'), |
|
|
path('odhlasit/', views.LogoutView.as_view(), name='logout'), |
|
|
path('logout/', RedirectView.as_view(pattern_name='login', permanent=True, query_string=True)), |
|
|
path('logout/', RedirectView.as_view(pattern_name='logout', permanent=True, query_string=True)), |
|
|
path('resitel/', resitel_required(views.ResitelView.as_view()), name='seminar_resitel'), |
|
|
path('resitel/', resitel_required(views.ResitelView.as_view()), name='seminar_resitel'), |
|
|
path('resitel/odevzdana_reseni/', resitel_required(views.PrehledOdevzdanychReseni.as_view()), name='seminar_resitel_odevzdana_reseni'), |
|
|
path('resitel/odevzdana_reseni/', resitel_required(views.PrehledOdevzdanychReseni.as_view()), name='seminar_resitel_odevzdana_reseni'), |
|
|
path('reset-hesla/', views.PasswordResetView.as_view(), name='reset_password'), |
|
|
path('reset-hesla/', views.PasswordResetView.as_view(), name='reset_password'), |
|
|