Updated logged out template to include a login link

This commit is contained in:
Correl Roush 2010-12-08 17:09:11 -05:00
parent 7010fa8b8a
commit 762ff822fd
2 changed files with 3 additions and 1 deletions

View file

@ -77,6 +77,7 @@ MIDDLEWARE_CLASSES = (
ROOT_URLCONF = 'codereview.urls'
LOGIN_URL = '/dashboard/login/'
LOGIN_REDIRECT_URL = '/'
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',

View file

@ -1,4 +1,5 @@
{% extends "layouts/default.html" %}
{% block content %}
Goodbye!
<p>You have been logged out.</p>
<a href="{% url django.contrib.auth.views.login %}">Log back in</a>
{% endblock %}