Thanks! That works (but wouldn't it make more sense for web2py to
include the application's modules directory in sys.path?)
Mike

On Jun 26, 10:52 am, DenesL <[email protected]> wrote:
> You should be using:
>
> exec('from applications.%s.modules import xx as
> yy'%request.application)
> reload(yy)
>
> the reload is only required during development when the module code
> might change.
> This also provides application name independence.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to