Last active
November 18, 2018 02:09
-
-
Save WillKoehrsen/ebf1df637ba67127a58d4d7d2d3f49de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment