Changeset 8487
- Timestamp:
- 08/23/08 11:27:12 (10 months ago)
- Files:
-
- django/trunk/django/contrib/admin/sites.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/admin/sites.py
r8484 r8487 48 48 index_template = None 49 49 login_template = None 50 app_index_template = None 50 51 51 52 def __init__(self): … … 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]
