[web2py] Re: Failed to import a module that named with 'plugin_' prefix in application/modules directory.

2011-10-15 Thread Massimo Di Pierro
correct every folder/subfolder must have an empty __init__.py On Oct 15, 11:48 am, villas wrote: > I believe you need to use a sub-folder in modules,  e.g. (untested) > > modules/plugins_name/.py > > from plugins. import YourClass

[web2py] Re: Failed to import a module that named with 'plugin_' prefix in application/modules directory.

2011-10-15 Thread villas
I believe you need to use a sub-folder in modules, e.g. (untested) modules/plugins_name/.py from plugins. import YourClass

[web2py] Re: Failed to import a module that named with 'plugin_' prefix in application/modules directory.

2011-10-14 Thread Massimo Di Pierro
When it does not work can you zip and and send a small example? perhaps open a ticket? On Oct 14, 1:15 am, seongjoo wrote: > When I am working with a module located in application/modules > directory with development server with python 2.7, having the module's > name with 'plugin_' prefix works f