1. Alexander Solovyov
  2. byteflow

Commits

Konstantinos Metaxas  committed 67512ef

admin url tag was broken.

  • Participants
  • Parent commits 0109284
  • Branches default

Comments (0)

Files changed (1)

File templates/head.html

View file
 
   {% if user.is_authenticated %}
   <span id="bar-left">
-    {% if user.is_staff %}<a href="{% url admin "." %}">{% trans "Admin" %}</a>{% endif %}
+    {% if user.is_staff %}<a href="{% url admin:index  %}">{% trans "Admin" %}</a>{% endif %}
     <a href="{% url profile_edit %}">{% trans "Profile" %}</a>
     <a href="{% url logout %}">{% trans "Logout" %}</a>
   </span>