[web2py] Re: variables available in view

2016-02-20 Thread Pierre
sorry that was a trivial question: it's written in the book : http://web2py.com/books/default/search/29?search=response._vars globals() works too but not very 'orthodox' :) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source c

[web2py] Re: variables available in view

2016-02-19 Thread Dave S
On Friday, February 19, 2016 at 10:13:31 AM UTC-8, Pierre wrote: > > hi everyone, > > I have a controller/function with different return cases: > like : > > if condition1: > return dict(var1=var1) > elif condition2: > return dict(var1=var1,var2=var2) > . > > how do I know in the corre