hmm. need to to run some tests.

On Jan 31, 7:52 pm, MikeEllis <michael.f.el...@gmail.com> wrote:
> Ran into a small problem when I ported an app out of my local
> development host and onto a remote host for more testing.  Basically
> it's this:
>
> In controllers/default.py I have
>
>      f = local_import('foo', reload=True)
>
> and in modules/foo.py I have
>
>     import bar
>
> where bar is app/modules/bar.py.  This raises a ticket that says it
> can't find bar.py.
>
> What's the right way to deal with the need for one module in app/
> modules to import from another?   I tried using local_import in
> foo.py, but local_import isn't defined in that context.
>
> Thanks,
> Mike

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to