Esempio n. 1
0
def home_post():
    startdate = request.form["startdate"]
    enddate = request.form["enddate"]
    result = query_stats(startdate, enddate)
    return render_template("index.html", stats=result)
Esempio n. 2
0
def home():
    result = query_stats("2013-08-01", "2013-08-02")
    return render_template("index.html", stats=result)