X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/12e7b7cbf07c8633f3093df7b4898156cca768f6..759c804d6c3b8db0ad99dcd5d155396b29ebedd7:/project/templates/registration/head_login.html

diff --git a/project/templates/registration/head_login.html b/project/templates/registration/head_login.html
index ded03e97..5eb353d0 100644
--- a/project/templates/registration/head_login.html
+++ b/project/templates/registration/head_login.html
@@ -1,10 +1,10 @@
 {% if user.is_authenticated %}
 <span class="user_name">{{ user.username }}</span> | 
-<a href='{% url django.contrib.auth.views.logout %}?next={{request.get_full_path}}'>Wyloguj</a>
+<a href='{% url logout %}?next={{request.get_full_path}}'>Wyloguj</a>
 {% else %}
-{% url django.contrib.auth.views.login as login_url %}
+{% url login as login_url %}
 {% ifnotequal login_url request.path %}
-    <a href='{% url django.contrib.auth.views.login %}?next={{request.get_full_path}}'>Logowanie</a>
+    <a href='{{ login_url }}?next={{request.get_full_path}}'>Logowanie</a>
 {% endifnotequal %}
 
 {% endif %}