title: how to iterate and access each values in django template?
body: <p>I have a dictionary with following data:</p>
  
  <pre><code>   { "redirects": [
              {"status":"301","url":"/ca/products/marketing-cloud/"},
              {"status":"301","url":"https://www.example.com/ca/products/marketing-cloud/"},
              {"status":"301","url":"/ca/products/marketing-cloud/overview/"}
       ] 
     }
  </code></pre>
  
  <p>I tried with for loop as below</p>
  
  <pre><code>{% for key, value in data.items %}
     {{ key }} =&gt; {{ value }
  {% endfor %}
  </code></pre>
  
  <p>but it only prints </p>
  
  <pre><code>redirects =&gt; [{'status': '301', 'url': '/ca/products/marketing-cloud/'}, {'status': '301', 'url': 'https://www.example.com/ca/products/marketing-cloud/'}, {'status': '301', 'url': '/ca/products/marketing-cloud/overview/'}]
  </code></pre>
  
  <p>How can I iterate through it so I can access value of status,url ?</p>
  
  <p>I am new to python and django. Please help to solve it.</p>
  
  <p>Thank you.</p>