[Zope] Defining a dictionary in ZPT?
pw_lists at slinkp.com
Thu Nov 1 14:37:00 EDT 2007
On Thu, Nov 01, 2007 at 12:48:04PM +0000, michael nt milne wrote:
> I've got this piece of code which is returning a keyerror on 'results' as I
> haven't set up a dictionary for the variables.
> <span tal:define="query here/testquery">
> <li tal content="results python: query(id='IT')">
> <span tal:replace="results/firstname">First Name</span>
"<li tal content" doesn't make any sense.
I suspect you want that to be:
<li tal:define="results ...
More information about the Zope