diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-27 07:27:09 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-08-27 07:27:09 +0000 |
| commit | ec8848dad50a4687a8bc3ba7270bf08dbf5ac25a (patch) | |
| tree | 4f94c036ca057fed6400ada637272ad3dedef5e4 | |
| parent | c2ba59fc1da5287d6286e2c2aca4083d5bafe056 (diff) | |
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
| -rw-r--r-- | django/contrib/admin/sites.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index a57dd09835..e36cfc1c7f 100644 --- a/django/contrib/admin/sites.py +++ b/django/contrib/admin/sites.py @@ -404,7 +404,8 @@ class AdminSite(object): 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, |
