can you import it from a normal python shell from the folder where you 
defined it? is there a __init__.py in that folder?

On Monday, 7 September 2015 22:40:58 UTC-5, [email protected] 
wrote:
>
>  Im triying import one test module form.py .
>
>        Module
>            class Form(object):
>                def hi():
>                return 'abc'
>   
>        my controller 
>             from form import form
>
> but the app generate me one ticket with this error:
>
> ImportError: No module named applications.apprueba.modules.form
>
>
>
>
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to