Commit 014b3222 authored by Tom Kunze's avatar Tom Kunze
Browse files

tutor: Fix logout button not doing a logout.

parent 7436d869
......@@ -68,7 +68,7 @@
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="{% url 'index' %}" id="logout">Logout</a></li>
<li><a href="{% url 'tutor_logout' %}" id="logout">Logout</a></li>
</ul>
</li>
</ul>
......
......@@ -55,7 +55,7 @@ urlpatterns = [
url(
r'^tutor/logout/?$',
auth_views.LogoutView.as_view(
next_page='tutor_login',
next_page='index',
),
name='tutor_logout',
),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment