aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-05-12 23:40:47 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-05-12 23:40:47 -0500
commita8e2812b054f49e4085bf6b8c0b9e0c5f1b8d312 (patch)
treec78b36f0539c0efef973eea052c28d51caa27177
parentbb49e56f8c855ea567d61ad63f93610b31d4eb27 (diff)
downloadmediagoblin-a8e2812b054f49e4085bf6b8c0b9e0c5f1b8d312.tar.lz
mediagoblin-a8e2812b054f49e4085bf6b8c0b9e0c5f1b8d312.tar.xz
mediagoblin-a8e2812b054f49e4085bf6b8c0b9e0c5f1b8d312.zip
min=0 makes more sense than min=-1
-rw-r--r--mediagoblin/submit/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/submit/forms.py b/mediagoblin/submit/forms.py
index 51ca349d..3fd9ea49 100644
--- a/mediagoblin/submit/forms.py
+++ b/mediagoblin/submit/forms.py
@@ -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')