Re: [web2py] Re: Initialize vars

2015-09-17 Thread Manuele Pesenti
Il 16/09/15 19:41, lenin.marti...@metamaxzone.com ha scritto: > Omg thanks problem solved. Can you give me more documentation about that. http://web2py.com/books/default/chapter/29/04/the-core#request and maybe you would like to read also...

[web2py] Re: Initialize vars

2015-09-16 Thread Anthony
request.vars is already initialized to a gluon.storage.Storage object. If it is not empty but you want to empty it, you can do: request.vars.clear() Anthony On Wednesday, September 16, 2015 at 11:54:38 AM UTC-4, lenin.marti...@metamaxzone.com wrote: > > Hello i need initialize > > >

[web2py] Re: Initialize vars

2015-09-16 Thread Leonel Câmara
why? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To

[web2py] Re: Initialize vars

2015-09-16 Thread Leonel Câmara
vars is web2py's Storage that is really just a python dictionary that allows you to use dot notation so your question is really a python one (not web2py). https://docs.python.org/2/library/stdtypes.html#dict.clear -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Initialize vars

2015-09-16 Thread lenin . martinez
Omg thanks problem solved. Can you give me more documentation about that. El miércoles, 16 de septiembre de 2015, 12:38:07 (UTC-4:30), Anthony escribió: > > request.vars is already initialized to a gluon.storage.Storage object. If > it is not empty but you want to empty it, you can do: > >