How to create a variable {% extends 'base.html' %}

You’re not the first to wrestle with this particular perspective. Most people coming from other frameworks (myself included) have had to make this adjustment.

If I may be so presumptuous, I’d like to suggest you see these posts where I’ve tried to explain some of this to others here: