aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/user_pages/forms.py
diff options
context:
space:
mode:
authorJakob Kramer <jakob.kramer@gmx.de>2015-03-07 21:48:13 +0100
committerBerker Peksag <berker.peksag@gmail.com>2015-03-12 21:57:53 +0200
commitf4686cde1662127b6a443b489f1d9f236060569c (patch)
tree384d7f85192ebc4ade08d7b723c9df59b1da8648 /mediagoblin/user_pages/forms.py
parentc8c09bc43b91c0c78ad281e66aee713ff991909a (diff)
downloadmediagoblin-f4686cde1662127b6a443b489f1d9f236060569c.tar.lz
mediagoblin-f4686cde1662127b6a443b489f1d9f236060569c.tar.xz
mediagoblin-f4686cde1662127b6a443b489f1d9f236060569c.zip
wtforms.fields.TextField was deprecated
WTForms documentation: > The TextField alias for StringField is deprecated. Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
Diffstat (limited to 'mediagoblin/user_pages/forms.py')
-rw-r--r--mediagoblin/user_pages/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/user_pages/forms.py b/mediagoblin/user_pages/forms.py
index 1a09864b..77e280e1 100644
--- a/mediagoblin/user_pages/forms.py
+++ b/mediagoblin/user_pages/forms.py
@@ -41,7 +41,7 @@ class MediaCollectForm(wtforms.Form):
note = wtforms.TextAreaField(
_('Include a note'),
[wtforms.validators.Optional()],)
- collection_title = wtforms.TextField(
+ collection_title = wtforms.StringField(
_('Title'),
[wtforms.validators.Length(min=0, max=500)])
collection_description = wtforms.TextAreaField(