import flask_wtf, wtforms class WeatherForm(flask_wtf.FlaskForm): location = wtforms.StringField("Location") submit = wtforms.SubmitField("Submit") class LocationForm(flask_wtf.FlaskForm): location = wtforms.SelectField("Location") submit = wtforms.SubmitField("Submit")