<!DOCTYPEhtml><html><body>{%include"mymenu.html"withme="TOBIAS"sponsor="W3SCHOOLS"%}<h1>Welcome</h1><p>This is my web site.</p><p>Check out mymenu.html to see the HTML content of the include.</p></body></html>
from django.http import HttpResponse
from django.template import loader
def testing(request):
template = loader.get_template('template.html')returnHttpResponse(template.render())
<div>HOME | {{me}} | ABOUT | FORUM | {{sponsor}}</div>