rename url 'cof-logout' -> 'gestion:logout'

This commit is contained in:
Martin Pépin 2017-10-27 11:08:27 +02:00
parent d2a0240900
commit 139a2e8293
2 changed files with 3 additions and 3 deletions

View file

@ -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='/'))

View file

@ -99,7 +99,7 @@
{% endif %}
<li class="divider"></li>
<li>
<a href="{% url "cof-logout" %}?next={% slugurl "k-fet" %}">
<a href="{% url "gestion:logout" %}?next={% slugurl "k-fet" %}">
<span class="glyphicon glyphicon-log-out"></span><span>Déconnexion</span>
</a>
</li>
@ -108,7 +108,7 @@
{% endif %}
{% if user.is_authenticated and not perms.kfet.is_team %}
<li>
<a href="{% url "cof-logout" %}?next={% slugurl "k-fet" %}" title="Déconnexion">
<a href="{% url "gestion:logout" %}?next={% slugurl "k-fet" %}" title="Déconnexion">
<span class="glyphicon glyphicon-log-out"></span>
</a>
</li>