Re: [web2py] Import models data to modules

2013-01-03 Thread Daniel Correia
Thanks for replying! It works! On Thursday, 3 January 2013 15:58:54 UTC, rochacbruno wrote: > > in models: > > myvar = 1 > > from gluon import current > current.myvar = myvar > > On a module > > from gluon import current > > print current.myvar > > On

[web2py] Import models data to modules

2013-01-03 Thread Daniel Correia
Hello! I have some variables in models which I'd like to import to the modules. How to do it? --