replace useless logout page by a redirect to the login page
This commit is contained in:
parent
b5d036eb72
commit
a8cc003fe1
@ -1,6 +0,0 @@
|
||||
{% extends "registration/registration_base.html" %}
|
||||
{% load i18n %}
|
||||
{% block title %}{% trans "Logged out" %}{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Successfully logged out!" %}
|
||||
{% endblock %}
|
@ -58,7 +58,7 @@
|
||||
{% if request.user.is_staff %}
|
||||
<li><a href="/admin/">Admin</a></li>
|
||||
{% endif %}
|
||||
<li><a href="{% url 'auth_logout' %}">Logout</a></li>
|
||||
<li><a href="{% url 'auth_logout' %}?next={% url 'auth_login' %}">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user