On Saturday, June 25, 2011 1:07:39 PM UTC-4, elffikk wrote: 
>
>
> try
>
> def get_data():
>    custdata = db.executesql(qry, as_dict=True)
>    return response.json(custdata.as_list())

 
He's already using as_dict=True in the executesql call, so doing 
custdata.as_list() shouldn't be necessary.
 

Reply via email to