]> git.datanom.net - flask-test.git/blobdiff - app/forms.py
final
[flask-test.git] / app / forms.py
index 8c0d16cbea3ba6f2c4fa99ba76ccdafcde5b49d0..812fe0e1932a04236bdd00b30c5f7f42cf70c128 100644 (file)
@@ -25,3 +25,6 @@ class EditForm(FlaskForm):
             return False
         return True
 
+class PostForm(FlaskForm):
+    post = StringField('post', validators=[DataRequired()])
+
This page took 0.034706 seconds and 5 git commands to generate.