title: Getting template syntax error while trying to parse a dictionary in my template in django
body: <p>Ok here is the code of my view.</p>
  
  <pre><code>def customers_to_be_called(request):
      customers = Customer.objects.filter(call=True)
      list_of_customers = []
      for cust in customers:
          jobs = Job.objects.filter(customer = cust)
          customer_date = {}
          customer_data['customer'] = cust
          customer_date['jobs'] = jobs
          list_of_customers.append(customer_data)
  
      return render(request, 'repairs/customers_to_be_called.html',
             {'list_of_customers' : list_of_customers,
      })
  </code></pre>
  
  <p>and here is the template that is gonna be rendered</p>
  
  <pre><code>&lt;div&gt;
  {% for customer in list_of_customers %}
      &lt;h2&gt; {{customer['customer'].name}} &lt;/h2&gt;
      &lt;ul&gt;
      {% for job in customer['jobs'] %}
          &lt;li&gt; {{job.product}} &lt;/li&gt;
      {% endfor %}
      &lt;/ul&gt;
  {% endfor %}
  &lt;/div&gt;
  </code></pre>
  
  <p>But When I send a request to this page I get the following error.
  <img src="https://i.stack.imgur.com/ppzGh.png" alt="Error"></p>
  
  <p>I don't know why it isn't parsing customer in the template while there is data in it..??</p>