Hi<br><br>I&#39;ve got this piece of code which is returning a keyerror on &#39;results&#39; as I haven&#39;t set up a dictionary for the variables. I&#39;m not sure what the syntax is for this within the ZPT. I&#39;ve read about the &#39;options&#39; dictionary. Can I use that?
<br><br>Thanks<br><br>    &lt;ul&gt;<br>        &lt;span tal:define=&quot;query here/testquery&quot;&gt;<br>          &lt;li tal content=&quot;results python: query(id=&#39;IT&#39;)&quot;&gt;<br>            &lt;span tal:replace=&quot;results/firstname&quot;&gt;First Name&lt;/span&gt;&amp;nbsp; 
<br>               &lt;/li&gt; <br>        &lt;/span&gt; <br>     &lt;/ul&gt;<br><br><br clear="all"><br>-- <br>michael