diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py
index 81e43a1..4aa6975 100644
a
|
b
|
class AdminSite(object):
|
47 | 47 | |
48 | 48 | index_template = None |
49 | 49 | login_template = None |
| 50 | app_index_template = None |
50 | 51 | |
51 | 52 | def __init__(self): |
52 | 53 | self._registry = {} # model_class class -> admin_class instance |
… |
… |
class AdminSite(object):
|
397 | 398 | raise http.Http404('The requested admin page does not exist.') |
398 | 399 | # Sort the models alphabetically within each app. |
399 | 400 | app_dict['models'].sort(lambda x, y: cmp(x['name'], y['name'])) |
400 | | return render_to_response('admin/app_index.html', { |
| 401 | return render_to_response(self.app_index_template or 'admin/app_index.html', { |
401 | 402 | 'title': _('%s administration' % capfirst(app_label)), |
402 | 403 | 'app_list': [app_dict] |
403 | 404 | }, context_instance=template.RequestContext(request)) |