summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/base.html2
-rw-r--r--templates/registration/logout.html4
-rw-r--r--urls.py4
3 files changed, 4 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html
index 03795dd..88bb341 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -44,7 +44,7 @@
title="arch-dev mailing list archives">Archives</a></li>
<li><a href="/mirrors/" title="Mirror server statistics">Mirrors</a></li>
<li><a href="/devel/profile/" title="Modify your account profile">Profile</a></li>
- <li><a href="/accounts/logout/" title="Logout of the developer interface">Logout</a></li>
+ <li><a href="/logout/" title="Logout of the developer interface">Logout</a></li>
</ul>
{% endif %}
</div><!-- #archdev-navbar -->
diff --git a/templates/registration/logout.html b/templates/registration/logout.html
index f8e0762..e890ce9 100644
--- a/templates/registration/logout.html
+++ b/templates/registration/logout.html
@@ -3,7 +3,9 @@
{% block content %}
<div id="dev-logout" class="box">
- <p>Logout successful.<p>
+ <h2>Developer Logout</h2>
+
+ <p>Logout was successful.<p>
</div>
{% endblock %}
diff --git a/urls.py b/urls.py
index 3608da6..3331926 100644
--- a/urls.py
+++ b/urls.py
@@ -42,12 +42,8 @@ urlpatterns += patterns('django.contrib.sitemaps.views',
urlpatterns += patterns('django.contrib.auth.views',
(r'^login/$', 'login', {
'template_name': 'registration/login.html'}),
- (r'^accounts/login/$', 'login', {
- 'template_name': 'registration/login.html'}),
(r'^logout/$', 'logout', {
'template_name': 'registration/logout.html'}),
- (r'^accounts/logout/$', 'logout', {
- 'template_name': 'registration/logout.html'}),
)
# Public pages