Browse files

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

…e in admin.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent c2ba59f commit ec8848dad50a4687a8bc3ba7270bf08dbf5ac25a @malcolmt malcolmt committed Aug 27, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 django/contrib/admin/sites.py
View
3 django/contrib/admin/sites.py
@@ -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,

0 comments on commit ec8848d

Please sign in to comment.