Created
April 27, 2020 20:20
-
-
Save Porter97/c8f115c95104b1747402a538b6a978ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#... | |
from wtforms.validators import Length, Regexp, DataRequired | |
#... | |
class CollectionForm(FlaskForm): | |
class Meta: | |
csrf = False | |
name = StringField('name', validators=[DataRequired()]) | |
description = StringField('description', validators=[DataRequired()]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment