Fixed #8589 -- Fixed the URL for the logout link on the app_index page in admin.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-08-27 07:27:09 +00:00
parent c2ba59fc1d
commit ec8848dad5
1 changed files with 2 additions and 1 deletions

View File

@ -404,7 +404,8 @@ class AdminSite(object):
app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name'])) app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name']))
context = { context = {
'title': _('%s administration' % capfirst(app_label)), 'title': _('%s administration' % capfirst(app_label)),
'app_list': [app_dict] 'app_list': [app_dict],
'root_path': self.root_path,
} }
context.update(extra_context or {}) context.update(extra_context or {})
return render_to_response(self.app_index_template or 'admin/app_index.html', context, return render_to_response(self.app_index_template or 'admin/app_index.html', context,