How do I correctly extend the django admin/base.html template?
问题 This seems like it should be simple but I must be doing something wrong. I've extended admin templates for individual apps before, but this is the first time I've tried extending to modify something across the board. I want to change the color of the help text across the entire admin, so I want to extend the extrastyle block of the base.html template. So in my main templates folder I created admin/base.html with this code in it: {% extends 'admin/base.html' %} {% block extrastyle %} {#