title: Django Templates "for loops" not working correctly
body: <p>I'm trying to build template tags that take use a dictionary in <code>settings.py</code> to build a menu.</p>
  
  <p>I have this as part of my template.</p>
  
  <pre><code>{% for menu_item in menu %}
       &lt;li class="single-link"&gt;&lt;a href="{{ menu_item.url }}" title="{{ menu_item.caption }}"&gt;{{ menu_item.caption }}&lt;/a&gt;&lt;/li&gt;
  {% endfor %}
  </code></pre>
  
  <p>The context passed to this tag contain</p>
  
  <pre><code>context['menu'] = {'keywords': {'url': '#', 'caption': 'test'}, 'start': {'url': '#', 'caption': 'test'}, 'flippa': {'url': '#', 'caption': 'test'}}
  </code></pre>
  
  <p><code>{{ menu.start.caption }}</code> works fine, however within my for loop, <code>menu_item</code> just contains just <code>'keywords'</code> or <code>'start'</code> or <code>'flippa'</code> and using <code>.</code> doesn't work at all.</p>
  
  <p><strong>Anyone know what I am doing wrong here?</strong></p>
  
  <p>Disclaimer: I've only been using django and python for a week!</p>