[Fixed]-How do I correctly extend the django admin/base.html template?

24👍

Indeed, your problem is an infinite recursion loop as base.html extends itself.

To achieve what you want you should override admin/base_site.html instead (which in turn extends base.html). That way you can replace only the blocks you’re interested in.

Leave a comment