graphPaname/app/forms.py

9 lines
217 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-14 00:14:09 +02:00
dataset = SelectField(choices=CHOICES)
2020-06-12 22:49:49 +02:00
submit = SubmitField("Submit")