On Thu, Nov 01, 2007 at 12:48:04PM +, michael nt milne wrote:
Hi
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.
(snip)
span tal:define=query here/testquery
li tal content=results python: query(id='IT')
span
yeah I have modified to this
li tal:define = query here/testquery
tal:repeat=result python:query(id='IT')
span tal:replace=python:repeat['result'].firstnameFirst
Name/spannbsp;
/li
but get this as a result. Thanks for the reply.
Module Products.PTProfiler.ProfilerPatch, line 32, in