Can you show some code (i.e, both some module code and how you are 
importing/accessing the objects from the controller)?

On Tuesday, December 2, 2014 1:01:04 PM UTC-5, Alan Evangelista wrote:
>
> Most of my application code is running in Python modules in the modules 
> directory. In the modules directory, I have a few singletons which are 
> implemented as variables defined in the main body of a globals module. 
> However, it seems that web2py runs my modules and the controller in 
> different processes and controller is unable to see the globals defined in 
> the modules directory. I do not have this issue in other web frameworks 
> such as Django. How do you usually handle this problem?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to