Fix the login url by using view names in the demo settings instead of the hardcoded urls.

Also remove a duplicate url for 'login'
This commit is contained in:
bbe
2021-01-04 20:02:25 +01:00
parent 63790c5b1d
commit cdfc895bce
2 changed files with 2 additions and 6 deletions

View File

@@ -215,10 +215,6 @@ urlpatterns += [
url(r'^login/$',
login.login,
name='login'),
url(r'^accounts/login/$',
login.login,
name='login'),
url(r'^logout/$',
auth_views.LogoutView.as_view(