I have 2 separate controllers and I need import a function from one controller to the other.
For example, I have a.py and b.py, in b.py I have tried:
import a
from applications.a.modules import a
import applications.a.modules.othermodule
I cannot seem to get anything to work after having looked at the documentation as well: http://web2py.com/book/default/chapter/04#Cooperation
How do I import one a function from one controller to another controller?