Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from flask import render_template
- # Home page
- @app.route("/", methods=['GET', 'POST'])
- def home():
- """Home page of app with form"""
- # Create form
- form = ReusableForm(request.form)
- # Send template information to index.html
- return render_template('index.html', form=form)
Add Comment
Please, Sign In to add comment