title: How to return a static HTML file as a response in Django?
body: <p>I have not figured out how I can present a website with pure HTML code and/or HTML + JavaScript + CSS.</p>
  <p>I tried to load an HTML file that just says: <em>Hello World</em>.</p>
  <p>I know I can do that with Django too, but later on, I want to display my website with CSS+JavaScript+HTML.</p>
  <p>In the views file I run this code:</p>
  <pre><code># Create your views here.
  from django.http import HttpResponse
  from django.template import Context, loader
  
  def index(request):
      template = loader.get_template(&quot;app/index.html&quot;)
      return HttpResponse(template.render)
  </code></pre>
  <p>But the only thing the website displays is:</p>
  <blockquote>
  <blockquote>
  </blockquote>
  </blockquote>