Exemple #1
0
def show():
    response.headers["Content-Type"] = "application/json"
    print controls.getAll(cursor, True)
    return controls.getAll(cursor, True)
Exemple #2
0
def homepage():
    return template("app/views/home", switches=controls.getAll(cursor))