Ticket #9908: app_index_template.diff

File app_index_template.diff, 642 bytes (added by arne, 7 years ago)
  • django/contrib/admin/sites.py

     
    374374            'root_path': self.root_path,
    375375        }
    376376        context.update(extra_context or {})
    377         return render_to_response(self.app_index_template or 'admin/app_index.html', context,
     377        return render_to_response(self.app_index_template or ('admin/%s/app_index.html' % app_label,
     378            'admin/app_index.html'), context,
    378379            context_instance=template.RequestContext(request)
    379380        )
    380381
Back to Top