From 139a2e8293dc0942c8a5d7bede0a4205119aa8e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 27 Oct 2017 11:08:27 +0200 Subject: [PATCH] rename url 'cof-logout' -> 'gestion:logout' --- kfet/auth/views.py | 2 +- kfet/templates/kfet/base_nav.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kfet/auth/views.py b/kfet/auth/views.py index 7b9f4099..9188d318 100644 --- a/kfet/auth/views.py +++ b/kfet/auth/views.py @@ -68,7 +68,7 @@ class GenericLoginView(View): here_qd['next'] = self.request.GET['next'] here_url += '?{}'.format(here_qd.urlencode()) - logout_url = reverse('cof-logout') + logout_url = reverse('gestion:logout') logout_qd = QueryDict(mutable=True) logout_qd['next'] = here_url logout_url += '?{}'.format(logout_qd.urlencode(safe='/')) diff --git a/kfet/templates/kfet/base_nav.html b/kfet/templates/kfet/base_nav.html index 1f5f48c6..8db1e3a3 100644 --- a/kfet/templates/kfet/base_nav.html +++ b/kfet/templates/kfet/base_nav.html @@ -99,7 +99,7 @@ {% endif %}
  • - + Déconnexion
  • @@ -108,7 +108,7 @@ {% endif %} {% if user.is_authenticated and not perms.kfet.is_team %}
  • - +