[web2py] JSON Problem

2012-06-20 Thread Jack315
Hey everyone, I'm sort of new to web2py, and I'm running a program that takes submitted form information and displays it as a JSON file using JSONP. Instead of displaying the JSON in the browser, it just downloads the .json file to my computer. What am I doing incorrectly? Here is the code

Re: [web2py] JSON Problem

2012-06-20 Thread Bruno Rocha
ypu can try: devices = db().select(db.contacts.ALL).as_list()