<reponame>MisterZhouZhou/python3demo<filename>flasky/app/nameForm.py
# *********
from flask_wtf import Form
# *********
from wtforms import StringField, SubmitField
from wtforms.validators import DataRequired

class NameForm(Form):
    name = StringField('What is your name?', validators=[DataRequired()])
    submit = SubmitField('Submit')
# *********
from flask_wtf import Form
# *********
from wtforms import StringField, SubmitField
from wtforms.validators import DataRequired

class NameForm(Form):
    name = StringField('What is your name?', validators=[DataRequired()])
    submit = SubmitField('Submit')
# ********* # *********