1👍
✅
A slightly different strategy is to do something like pass a context variable, base_template = 'minimal.html'
from your view (or a context processor), and reference that in form.html
like so:
{% extends base_template %}
Source:stackexchange.com