[ZPT] Re: Fwd: Re: sql not that persistent

Dieter Maurer dieter@handshake.de
Sun, 28 Jul 2002 23:24:10 +0200

Michal Kurowski writes:
 > ...
 > When I try:
 > tal:content="python: request.set('my_table', table)"
 > or
 > tal:content="python: request.set('my_table', here.get_db())
If this code is reached, you should see a "None" in your generated
page. If you do not see it, it is not reached.

I would expect some form of 'tal:define="dummy python: request.set(...)"'
instead of a "tal:content".

 > and then, in a script:
 > for key, item in request.items():
 >     print ...
 > there's no such thing set :-(

Maybe, your "tal:content" is not reached.

As Chris already pointed out, "request.other" may be better, but
I doubt that this is the problem.