title: Trying to implement HTML Template into first Django project. Movies not showing
body: <p>I am following along an online Python tutorial and I am have to create an HTML template in which creates a table for the end user to see the movies in the inventory. I have followed the teachers instructions step-by-by step but when I refresh the browser page, it only shows the class attributes that I listed in the HTML. The code that I wrote is below:</p>
  
  <p><strong><em>index.html file:</em></strong></p>
  
  <pre><code>&lt;table class="table"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Title&lt;/th&gt;
              &lt;th&gt;Genre&lt;/th&gt;
              &lt;th&gt;Stock&lt;/th&gt;
              &lt;th&gt;Daily Rate&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          {% for movie in movies %}
              &lt;tr&gt;
                  &lt;td&gt;{{ movie.title }}&lt;/td&gt;
                  &lt;td&gt;{{ movie.genre }}&lt;/td&gt;
                  &lt;td&gt;{{ movie.number_in_stock }}&lt;/td&gt;
                  &lt;td&gt;{{ movie.daily_rate }}&lt;/td&gt;
              &lt;/tr&gt;
          {% endfor %}
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p><strong><em>and the views.py file:</em></strong></p>
  
  <pre><code>from django.http import HttpResponse
  from django.shortcuts import render
  from .models import Movie
  
  
  def index(request):
      movies = Movie.objects.all()
      return render(request, 'index.html', {' movies': movies})
  </code></pre>
  
  <p>Here is what results on my web browser:</p>
  
  <p><a href="https://i.stack.imgur.com/16rS5.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>If someone knows why this is not working, any help would be awesome!</p>