On Friday, July 20, 2018 at 5:39:56 PM UTC-4, Dave S wrote:
>
>
>
> On Friday, July 20, 2018 at 8:49:26 AM UTC-7, Anthony wrote:
>>
>> local_import was deprecated several years ago (I don't think it's even 
>> mentioned in the book any more). Just use regular imports. There shouldn't 
>> be any need to change sys.path. If you still have problems, we may need to 
>> see some real code and names. There could be issues if your module has the 
>> same name as another in system (this isn't a problem at the top level of 
>> /modules, but can cause problems when there are submodules).
>>
>> Anthony
>>
>
>
> Is __init__.py required in all the new directories?
>

Yes.

-- 
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