* Give the login and logout views a name and refer to the logout view by that name.
[matthijs/projects/xerxes.git] / templates / base / base.html
index 4a35e870d7e07a281466f86d25f06ae012c5a1a9..8fefc9a32e661ac8533285c676859885cf880fd6 100644 (file)
@@ -21,7 +21,7 @@
 <div class="Footer">
 {% if user.is_authenticated %}
        <p>{% blocktrans with user.username as username %}You are currently logged in as {{ username }}{% endblocktrans %} 
-       -- <a href="../logout/">{% trans "Logout" %}</a></p>
+       -- <a href="{% url logout %}">{% trans "Logout" %}</a></p>
 {% endif %}
 </div>