I have a very basic template (basic_template.html), and want to fill in the with data formatted using another partial template. The basic_template.html might contain severa
There are mainly 2 ways (2 easy ones)
1:
In base html put {% include "myapp/sub.html" %}
And just write html code inside your sub.html file
2:
https://docs.djangoproject.com/en/dev/ref/templates/language/#template-inheritance