23 Jul
2003
23 Jul
'03
2:47 a.m.
On Tue, Jul 22, 2003 at 06:48:57PM -0700, Roy Rapoport wrote:
What I'm hoping to find out, though, is whether I could call a ZPT with a dictionary. My initial effort: PS: d = {} d['arg'] = 'bar' return context['page_template'](d)
Untested, but I think the answer here is a standard python idiom: return context['page_template'](**d) -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's NINJA POLY BUTTER CHURN! (random hero from isometric.spaceninja.com)