template.html
views.py
mymenu.html
<!DOCTYPE html>
<html>
<body>
{% include "mymenu.html" %}
<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')
return HttpResponse(template.render())
<div>HOME | ABOUT | FORUM</div>