I think that request.get_vars return the reference to Storage object not its copy. So adding something to your variable de-facto adds items to former Storage.
Dne čtvrtek, 23. května 2013 11:00:40 UTC+2 Domagoj Kovač napsal(a): > > {{export_get_vars = request.get_vars}} > {{export_get_vars.export_format = "csv"}} > {{export_get_vars.export_format = "xls"}} > {{=request.get_vars}} > I have a code like this, i dont understand what is going on. I assign > request.get_vars to export_get_vars, when i add seomething to > export_get_vars request.get_vars is also changed, How is this possible? > > Example above outputs: > <Storage {'export_format': 'xls'}> > > Althought my url is: > http://127.0.0.1:8000/init/entry_value/grid/13 > -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.