{% load i18n %}
{% if user.is_authenticated %}
-<span class="user_name">{{ user.username }}</span> |
-<a href='{% url logout %}?next={{request.get_full_path|urlencode}}'>{% trans "Log Out" %}</a>
+<span class="user_name">{{ user.username }}</span> |
+<a href='{% url logout %}'>{% trans "Log Out" %}</a>
{% else %}
{% url login as login_url %}
{% ifnotequal login_url request.path %}
- <a href='{{ login_url }}?next={{request.get_full_path|urlencode}}'>{% trans "Log In" %}</a>
+ <a href='{{ login_url }}'>{% trans "Log In" %}</a>
{% endifnotequal %}
{% endif %}