﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11466	Problem with 'logout', 'change password' links in contrib.admin interface	gurunars	nobody	"'''Currently in ''""django/contrib/admin/templates/admin/base.html"" ''  there is a line:'''

<div id=""user-tools"">{% trans 'Welcome,' %} <strong>{% firstof user.first_name user.username %}</strong>. {% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}<a href=""{{ docsroot }}"">{% trans 'Documentation' %}</a> / {% endif %}<a href=""{{ root_path }}password_change/"">{% trans 'Change password' %}</a> / <a href=""{{ root_path }}logout/"">{% trans 'Log out' %}</a>{% endblock %}</div>-->

'''It should be replaced with:'''

<div id=""user-tools"">{% trans 'Welcome,' %} <strong>{% firstof user.first_name user.username %}</strong>. {% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}<a href=""{{ docsroot }}"">{% trans 'Documentation' %}</a> / {% endif %}<a href=""/{{ root_path }}password_change/"">{% trans 'Change password' %}</a> / <a href=""/{{ root_path }}logout/"">{% trans 'Log out' %}</a>{% endblock %}</div>

'''Reason:''' 

{{root_path}} variable does not contain a trailing slash. As a result, logout and change password links are relative, not absolute. It leads to 404 error when using the links from the pages other then home one. The solution is to add a trailing slash in front of {{root_path}} variable.
 
  "		closed	contrib.admin	1.1-beta		duplicate			Unreviewed	0	0	0	0	0	0
