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