load the templates file
two ways:
1.
from django.template import loader,Context
def index(req):
t = loader.get_template('index.html')
c = Context({})
return HttpResponse(t.render(c))
2.
from django.shortcuts import render_to_response
def index(req):
return render_to_response('index.html',{}) # first argument is template and then is Context