[web2py] - Create dict for select/insert