Python Tornado: nested templating
<p>Is it possible to do some sort of <code>eval</code> in tornado templates?</p>

<p>Let me show an example of what I wish to do:</p>

<pre><code>{% for c in columns %}
    &lt;!-- cdata is a dictionary, and columns is a list --&gt;
    &lt;div class="cell"&gt; {{ cdata[ {{ c }} ] }} &lt;/div&gt;
{% end %}
</code></pre>

<p>e.g. I want to evaluate the current value in <code>columns</code>, and use it as a key to search in the <code>cdata</code> dictionary.</p>

<p>How do I do that?</p>

<p>Thanks</p>