title: Jinja2 dictonary lookup using a variable key
body: <p>Using <code>Jinja2</code> how can I lookup the value in a dictionary where the key is a variable from a <code>Jinja2</code> for loop.</p>
  
  <p>Here's an example of what I'm trying to do</p>
  
  <pre><code>{% for field in fields %}
  &lt;td&gt; {{ item[field] }} &lt;/td&gt;
  {% endfor %}
  </code></pre>