min=0 makes more sense than min=-1
This commit is contained in:
parent
bb49e56f8c
commit
a8e2812b05
@ -21,6 +21,6 @@ import wtforms
|
||||
class SubmitStartForm(wtforms.Form):
|
||||
title = wtforms.TextField(
|
||||
'Title',
|
||||
[wtforms.validators.Length(min=-1, max=500)])
|
||||
[wtforms.validators.Length(min=0, max=500)])
|
||||
description = wtforms.TextAreaField('Description of this work')
|
||||
file = wtforms.FileField('File')
|
||||
|
Loading…
x
Reference in New Issue
Block a user