Re: [web2py] syntax for making var appear in view

2014-12-01 Thread Johann Spies
On 1 December 2014 at 09:23, Alex Glaros alexgla...@gmail.com wrote: Question one: This is in controller: vars=dict(Alex=99) This is in view: brAlex = {{ =response.get_vars.Alex}} br error is: 'NoneType' object has no attribute 'Alex'. I assume this is not the way to get a var to show

[web2py] syntax for making var appear in view

2014-11-30 Thread Alex Glaros
Question one: This is in controller: vars=dict(Alex=99) This is in view: brAlex = {{ =response.get_vars.Alex}} br error is: 'NoneType' object has no attribute 'Alex'. I assume this is not the way to get a var to show up in view. What is correct syntax? Question two: bAlex var is in