import flask login = flask.Blueprint("login", __name__, template_folder="templates") @login.route("/login", methods=['POST', 'GET']) def show(): if (flask.request.method == ['GET']): return (flask.render_template("login/login.html")) else: return ("bozo") email = flask.request.form['email'] password = flask.request.form['password']