[web2py] Re: Conditional presence of a variable in view

2011-11-08 Thread pepper_bg
Appreciate it...

[web2py] Re: Conditional presence of a variable in view

2011-11-08 Thread Anthony
No, that should never have worked. To do 'if table:', 'table' does have to be defined, and it will only be defined if passed from the controller. Here's what you can do: {{if 'table' in globals():}} or if there's a chance that when 'table' is actually returned it could be None/False/empty and