diff options
author | Aaron Williamson <aaron@copiesofcopies.org> | 2011-05-09 00:06:38 -0400 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-05-12 23:38:02 -0500 |
commit | bb49e56f8c855ea567d61ad63f93610b31d4eb27 (patch) | |
tree | a7b8883003dc9fffcf2c260895c6e2493a375a4c /mediagoblin/submit/forms.py | |
parent | 9a22d0a0232647c37bb9c8afc57deaf31f0ec9b2 (diff) | |
download | mediagoblin-bb49e56f8c855ea567d61ad63f93610b31d4eb27.tar.lz mediagoblin-bb49e56f8c855ea567d61ad63f93610b31d4eb27.tar.xz mediagoblin-bb49e56f8c855ea567d61ad63f93610b31d4eb27.zip |
On image submission, do not require title. If none entered, default to filename.
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 fe51e7fd..51ca349d 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=-1, max=500)]) description = wtforms.TextAreaField('Description of this work') file = wtforms.FileField('File') |