[web2py] Re: Multiple dicts for querying multiple tables

2018-03-20 Thread Anthony
You are returning an empty dict - you need to add those three items to it. -- 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

[web2py] Re: Multiple dicts for querying multiple tables

2018-03-20 Thread En Ware
Anthony, I'm probably doing something wrong with the view then, I get an error if I try to call the dict in a view. {{extend 'layout.html'}} Watch and Defend Links: http://localhost:8081/Hunter/default/foxtel_search;>Show Foxtel Records {{=get_foxtel_count}}

[web2py] Re: Multiple dicts for querying multiple tables

2018-03-20 Thread Anthony
A dict can have multiple keys, so feel free to return a dict that includes all three results. Of course, you can also put all three values into a single object (e.g., a dict, list, or tuple), and then just return that single object to the view. Anthony On Tuesday, March 20, 2018 at 9:59:21 AM