Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #8589 -- Fixed the URL for the logout link on the app_index pag…

…e in admin.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ec8848dad50a4687a8bc3ba7270bf08dbf5ac25a 1 parent c2ba59f
@malcolmt malcolmt authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django/contrib/admin/
3  django/contrib/admin/
@@ -404,7 +404,8 @@ def app_index(self, request, app_label, extra_context=None):
app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name']))
context = {
'title': _('%s administration' % capfirst(app_label)),
- 'app_list': [app_dict]
+ 'app_list': [app_dict],
+ 'root_path': self.root_path,
context.update(extra_context or {})
return render_to_response(self.app_index_template or 'admin/app_index.html', context,
Please sign in to comment.
Something went wrong with that request. Please try again.