diff --git a/seminar/urls.py b/seminar/urls.py index 995f4047..7ba7c239 100644 --- a/seminar/urls.py +++ b/seminar/urls.py @@ -136,7 +136,7 @@ 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='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/odevzdana_reseni/', resitel_required(views.PrehledOdevzdanychReseni.as_view()), name='seminar_resitel_odevzdana_reseni'), path('reset-hesla/', views.PasswordResetView.as_view(), name='reset_password'),