30 May
2003
30 May
'03
6:56 a.m.
simply run a python function? We've been using the omit-tag to do this, but I find this cludgy.
<div tal:omit-tag="python:foo()"></div>
Are other people just using dmtl for this sort of thing. Is
We use tal:define for this purpose: <body tal:define="dummy python:foo(); <other assignments>" ... Usually this way we run some page setup code which we put inside <body> or even top-level <html> tag. Regards, Dmitry