diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-05-12 23:40:47 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-05-12 23:40:47 -0500 |
commit | a8e2812b054f49e4085bf6b8c0b9e0c5f1b8d312 (patch) | |
tree | c78b36f0539c0efef973eea052c28d51caa27177 /mediagoblin/submit/forms.py | |
parent | bb49e56f8c855ea567d61ad63f93610b31d4eb27 (diff) | |
download | mediagoblin-a8e2812b054f49e4085bf6b8c0b9e0c5f1b8d312.tar.lz mediagoblin-a8e2812b054f49e4085bf6b8c0b9e0c5f1b8d312.tar.xz mediagoblin-a8e2812b054f49e4085bf6b8c0b9e0c5f1b8d312.zip |
min=0 makes more sense than min=-1
Diffstat (limited to 'mediagoblin/submit/forms.py')
-rw-r--r-- | mediagoblin/submit/forms.py | 2 |
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') |