aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/submit/forms.py
diff options
context:
space:
mode:
authorLoïc Le Ninan <loic.leninan@gmail.com>2014-06-09 15:14:23 +0200
committerChristopher Allan Webber <cwebber@dustycloud.org>2014-06-13 10:23:07 -0500
commit0742e11dff487e1af27652fcf63f7d53322018cd (patch)
tree82ccd63f72a30795baed0bda855dcd0e743de2d6 /mediagoblin/submit/forms.py
parentb9d990ac6a401d95eb25a006cd78a51d5cf0ff5a (diff)
downloadmediagoblin-0742e11dff487e1af27652fcf63f7d53322018cd.tar.lz
mediagoblin-0742e11dff487e1af27652fcf63f7d53322018cd.tar.xz
mediagoblin-0742e11dff487e1af27652fcf63f7d53322018cd.zip
Fixes #899 : DeprecationWarning about Required going away in WTForms 3.0. Replaced Required with InputRequired.
Diffstat (limited to 'mediagoblin/submit/forms.py')
-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 e2264645..6c0e8e9c 100644
--- a/mediagoblin/submit/forms.py
+++ b/mediagoblin/submit/forms.py
@@ -59,7 +59,7 @@ def get_submit_start_form(form, **kwargs):
class AddCollectionForm(wtforms.Form):
title = wtforms.TextField(
_('Title'),
- [wtforms.validators.Length(min=0, max=500), wtforms.validators.Required()])
+ [wtforms.validators.Length(min=0, max=500), wtforms.validators.InputRequired()])
description = wtforms.TextAreaField(
_('Description of this collection'),
description=_("""You can use