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,