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 Thu, Jan 3, 2013 at 10:54 AM, Daniel Correia 
> <danie...@gmail.com<javascript:>
> > 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