title: Django template in nested dictionary
body: <p>I am using Django template, and I met one problem with nested dictionary.</p>
  
  <p>Dict:</p>
  
  <pre><code>result_dict = {'type_0' : {'file_name' : 'abc', 'count' : 0},
                 'type_1' : {'file_name' : 'xyz', 'count' : 50}}
  </code></pre>
  
  <p>and the template in my HTML file is:</p>
  
  <pre><code>{% for type in result_dict %}
      {{ type }}, {{ type.file_name }}
  {% endfor %}
  </code></pre>
  
  <p>How can I show the value of type_0 and type_1 only ?</p>
  
  <p>I've tried:</p>
  
  <pre><code>{% for key, value in result_dict %}
      {{ key }}, {{ value }}
  {% endfor %}
  </code></pre>
  
  <p>but it doesn't work.</p>
  
  <p>Thank you for your help.</p>