graphPaname/app/forms.py

13 lines
267 B
Python
Raw Normal View History

2020-06-14 00:14:09 +02:00
from constants import CHOICES
2020-06-12 22:49:49 +02:00
from flask_wtf import FlaskForm
from wtforms import SelectField, SubmitField
class DatasetForm(FlaskForm):
2020-06-15 02:14:04 +02:00
"""
Web form to select a dataset
"""
2020-06-14 00:14:09 +02:00
dataset = SelectField(choices=CHOICES)
2020-06-12 22:49:49 +02:00
submit = SubmitField("Submit")