fix for clean logout

This commit is contained in:
Martin Bley
2022-09-18 17:48:33 +02:00
parent 46bc47f046
commit fb3e425471
4 changed files with 17 additions and 35 deletions

View File

@@ -23,7 +23,7 @@ urlpatterns = [
re_path(r'^blog/(?P<page>\d)$', views.blogindex),
re_path(r'^about$', views.about),
re_path(r'^accounts/login/', auth_views.LoginView.as_view()),
re_path(r'^logout', auth_views.LogoutView.as_view())
re_path(r'^accounts/logout/', auth_views.LogoutView.as_view())
]
if settings.DEBUG is True: