Ejemplo n.º 1
0
def addsheet():
    title = request.form["title"]
    tags = request.form["tags"]
    data = request.form["sheetData"]
    name = str(request.form["fbname"])
    if name == "undefined":
        name = "Anonymous User (No Facebook Login)"
    utils.addsheet(title, tags, data, name)
    return render_template("sheets.html", sheets=utils.returnsheets())
Ejemplo n.º 2
0
def sheets():
    return render_template("sheets.html", sheets=utils.returnsheets())