fix for clean logout
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user