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 that I am using in my controller:
def get_devices():
response.view = 'generic.jsonp'
devices = db().select(db.contacts.ALL)
return dict(devices=devices)
Thank you for any help you can provide.

