>
> Update:

Changing 
> from gluon import *
> from globals import Storage, Response
> to
> from gluon import *
> from gluon.globals import Storage, Response
> AND restart web2py solve the "import" problem in a plugin.
>

Restarting is not limited to fixing "import" problems -- it is needed to 
pick up any change at all in a module (unless you turn on change tracking). 
Also, this isn't an issue with plugins but with modules (whether or not 
part of a plugin).

Note sure why it's requiring from gluon.globals rather than just from 
globals -- is that specific to the Mac binary version?

Anthony

-- 

--- 
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/groups/opt_out.


Reply via email to