[web2py] Re: How to get request

2011-02-05 Thread walter
Where can I find a description of the framework, or UML diagrams? I'm not quite clear about its architecture. On 5 фев, 03:25, Jonathan Lundell wrote: > 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

Re: [web2py] Re: How to get request

2011-02-05 Thread Martín Mulone
Like jonathan said if you want args in module you have to pass it. === controller/default.py === def index(): name = request.args[0] mymodule = local_import("mymodule") myclass = mymodule.MyClass(name) = modules/mymodule.py ===