Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @app.route('/login', methods=['GET', 'POST'])
- def login():
- if request.method == "GET":
- return render_template('login.html', visitor=True)
- elif request.method == "POST":
- return render_template('login.html', user="hello")
Advertisement
Add Comment
Please, Sign In to add comment