Created
August 20, 2018 04:30
-
-
Save marknagelberg/eba3eb55421536c34a2649bfac05a213 to your computer and use it in GitHub Desktop.
This file contains 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_wtf import FlaskForm | |
from wtforms import StringField, SubmitField | |
from wtforms.validators import DataRequired | |
class NameForm(FlaskForm): | |
name = StringField('Enter a name', validators=[DataRequired()]) | |
submit = SubmitField('Submit') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment