On Feb 4, 2011, at 2:28 PM, walter wrote:
> 
> I define a decorator into the modules folder and try get request.args.
> How to do correct import of request and use it in my decorator?
> 
> I try something like this:
> env = globals()
> args = env.request.args

An imported module has its own namespace, so it doesn't know about request. Can 
you pass it in?

Reply via email to