[Schema+config change] Comment editing (#396)

* Comment editing
* Optional time limit for comment editing
This commit is contained in:
Shane
2017-11-05 09:26:30 -05:00
committed by Anna-Maria Meriniemi
parent b4c0ad9e84
commit 72c997173c
8 changed files with 185 additions and 8 deletions

View File

@@ -184,7 +184,7 @@ class CommentForm(FlaskForm):
comment = TextAreaField('Make a comment', [
Length(min=3, max=1024, message='Comment must be at least %(min)d characters '
'long and %(max)d at most.'),
DataRequired()
DataRequired(message='Comment must not be empty.')
])