mirror of
https://github.com/correl/codereview.git
synced 2024-11-23 19:19:50 +00:00
Updated logged out template to include a login link
This commit is contained in:
parent
7010fa8b8a
commit
762ff822fd
2 changed files with 3 additions and 1 deletions
|
@ -77,6 +77,7 @@ MIDDLEWARE_CLASSES = (
|
||||||
|
|
||||||
ROOT_URLCONF = 'codereview.urls'
|
ROOT_URLCONF = 'codereview.urls'
|
||||||
LOGIN_URL = '/dashboard/login/'
|
LOGIN_URL = '/dashboard/login/'
|
||||||
|
LOGIN_REDIRECT_URL = '/'
|
||||||
|
|
||||||
AUTHENTICATION_BACKENDS = (
|
AUTHENTICATION_BACKENDS = (
|
||||||
'django.contrib.auth.backends.ModelBackend',
|
'django.contrib.auth.backends.ModelBackend',
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{% extends "layouts/default.html" %}
|
{% extends "layouts/default.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
Goodbye!
|
<p>You have been logged out.</p>
|
||||||
|
<a href="{% url django.contrib.auth.views.login %}">Log back in</a>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue