Yes but in model from gluon import current print current.myvar # never use correct at top-levet
On Thursday, 3 January 2013 09:58:54 UTC-6, rochacbruno wrote: > > in models: > > myvar = 1 > > from gluon import current > current.myvar = myvar > > On a module > > from gluon import current > > print current.myvar > > On Thu, Jan 3, 2013 at 10:54 AM, Daniel Correia > <[email protected]<javascript:> > > wrote: > >> >> Hello! >> >> I have some variables in models which I'd like to import to the modules. >> How to do it? >> >> -- >> >> >> >> > > --

