min=0 makes more sense than min=-1
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 13 May 2011 04:40:47 +0000 (23:40 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 13 May 2011 04:40:47 +0000 (23:40 -0500)
mediagoblin/submit/forms.py

index 51ca349ddebb97c1452593f462a4e4bcd532ec1a..3fd9ea49f897dc15e88e1661808ac401c7f540fc 100644 (file)
@@ -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')