def select_records_comfortable(): if request.method == 'POST': print(request.form) python_records = CallDatabase.web_select_specific(request.form) return render_template("show_records.html", html_records=python_records) else: table = CallDatabase.web_select_overall() table = utils.total_seconds(table) uniques = utils.get_unique(table) return render_template("select_records_comfortable.html", uniques=uniques)
def spline_chart(): table = CallDatabase.web_select_overall() table = utils.total_seconds(table) uniques = utils.get_unique(table) return render_template("spline_chart.html", table=table, uniques=uniques)