Commit 194a39be authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Added login/logout links.

parent bcdeeb79
......@@ -2,5 +2,8 @@
[ <a href="{% url 'about' %}">What is Go?</a> ]
{% if user.is_authenticated %}
[ <a href="{% url 'my_links' %}">My Links</a> ]
[ <a href="{% url 'go_logout' %}">Log Out</a> ]
{% else %}
[ <a href="{% url 'go_login' %}">Log In</a> ]
{% endif %}
</p>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment