CatOrNot/app/forms.py

8 lines
279 B
Python
Raw Normal View History

2018-12-11 00:32:28 +01:00
from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, BooleanField, SubmitField
from wtforms.validators import DataRequired
class UploadForm(FlaskForm):
url = StringField('Link', validators=[DataRequired()])
submit = SubmitField('Cat or not?')