euscanwww: included django-registration and tweaked templates

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-06-09 17:11:28 +02:00
parent 4246c544ad
commit d34a0c4992
20 changed files with 200 additions and 1 deletions

View File

@ -52,6 +52,15 @@
<li>---</li>
<li><a href="{% url "api" %}">API</a></li>
<li><a href="{% url "about" %}">About</a></li>
<li>---</li>
{% if user.is_authenticated %}
<li><a href="#"> Welcome {{ user }}</a></li>
<li><a href="{% url "django.contrib.auth.views.logout" %}">Logout</a></li>
{% else %}
<li><a href="{% url "django.contrib.auth.views.login" %}">Login</a></li>
<li><a href="{% url "registration.views.register" %}">Register</a></li>
{% endif %}
{% endblock %}
</ul>
</div>