import flask_wtf import 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")