On Thursday, June 9, 2016 at 3:02:16 PM UTC-4, Alex Glaros wrote:
>
> but am still curious how to phrase syntax for putting it in return clause 
> along with locals. If my question makes sense, please let me know.
>

That doesn't make sense because locals() is a dictionary of all of the 
local variables, so it already includes json_list, which is a local 
variable. You can always return a custom dictionary including only the 
particular values you need to return rather than all local variables (which 
is what you should be doing anyway), but that won't change anything 
regarding your use of json_list in the view.

Anthony

-- 
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 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/d/optout.

Reply via email to