graphPaname/app/forms.py

10 lines
256 B
Python
Raw Normal View History

2020-06-12 22:49:49 +02:00
from constants import DATASETS
from flask_wtf import FlaskForm
from wtforms import SelectField, SubmitField
2020-06-13 18:23:34 +02:00
# NOTE The choices should be shorter
2020-06-12 22:49:49 +02:00
class DatasetForm(FlaskForm):
dataset = SelectField(choices=DATASETS)
2020-06-12 22:49:49 +02:00
submit = SubmitField("Submit")