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 <danielcr...@gmail.com>wrote:

>
> Hello!
>
> I have some variables in models which I'd like to import to the modules.
> How to do it?
>
> --
>
>
>
>

-- 



Reply via email to