From b1ca54e13e119d68cbac5b72dff3df8b451603c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 29 Jul 2018 23:29:08 +0200 Subject: [PATCH] misc: rename login/logout views to match other applications (#25525) --- bijoe/templates/bijoe/base.html | 2 +- bijoe/urls.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bijoe/templates/bijoe/base.html b/bijoe/templates/bijoe/base.html index 108053e..a2fdf10 100644 --- a/bijoe/templates/bijoe/base.html +++ b/bijoe/templates/bijoe/base.html @@ -5,7 +5,7 @@ {% endblock %} -{% block logout-url %}{% url 'logout' %}{% endblock %} +{% block logout-url %}{% url 'auth_logout' %}{% endblock %} {% block page-title %} {% trans 'Statistics' as default_site_title %} diff --git a/bijoe/urls.py b/bijoe/urls.py index 99ed601..5055209 100644 --- a/bijoe/urls.py +++ b/bijoe/urls.py @@ -23,8 +23,8 @@ import views urlpatterns = [ url(r'^$', views.homepage, name='homepage'), url(r'^admin/', include(admin.site.urls)), - url(r'^accounts/login/$', views.login, name='login'), - url(r'^accounts/logout/$', views.logout, name='logout'), + url(r'^accounts/login/$', views.login, name='auth_login'), + url(r'^accounts/logout/$', views.logout, name='auth_logout'), url(r'^manage/menu.json$', views.menu_json, name='menu-json'), url(r'^visualization/', include('bijoe.visualization.urls')), ] -- 2.18.0