Ticket #9908: app_index_r9814.diff
File app_index_r9814.diff, 1.1 KB (added by , 16 years ago) |
---|
-
docs/ref/contrib/admin.txt
1071 1071 Not every template in ``contrib\admin\templates\admin`` may be overridden per 1072 1072 app or per model. The following can: 1073 1073 1074 * ``app_index.html`` 1074 1075 * ``change_form.html`` 1075 1076 * ``change_list.html`` 1076 1077 * ``delete_confirmation.html`` -
django/contrib/admin/sites.py
390 390 'root_path': self.root_path, 391 391 } 392 392 context.update(extra_context or {}) 393 return render_to_response(self.app_index_template or 'admin/app_index.html', context, 393 return render_to_response(self.app_index_template or ('admin/%s/app_index.html' % app_label, 394 'admin/app_index.html'), context, 394 395 context_instance=template.RequestContext(request) 395 396 ) 396 397