Some people do not want to return everything in locals() but there is nothing wrong in returning locals(). Actually I like it a lot. Renaming vars just causes confusion.
On Jan 13, 3:27 am, Bob <[email protected]> wrote: > Is there anything I am missing? Why would you want to manually create > a dictionary of all the vars you need in Web2py views when you simpli > can write > > return locals() > > and all the variables will be available in the view

