instead of sending in your variables directly, you can put them all in a dict:
render.index(d=dict(name=name))
then use d.get('name, '')
in the template.
On Fri, Mar 20, 2009 at 2:31 AM, <[email protected]> wrote:
>
>
> is it possible to not throw exceptions if undefined variables are accessed
> in cheetah
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---