Re: [web2py] How to get request

2011-02-04 Thread Jonathan Lundell
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 namespa

[web2py] How to get request

2011-02-04 Thread walter
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