aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/forms.py
diff options
context:
space:
mode:
authorDerek Moore <derek.k.moore@gmail.com>2012-03-25 22:25:54 -0700
committerDerek Moore <derek.k.moore@gmail.com>2012-03-25 22:25:54 -0700
commitfa72e516897a370b1e47e5f0ff17155990cd2414 (patch)
tree364b9081f4df5f55ca414eddbc3dd2c7eb5ec333 /mediagoblin/edit/forms.py
parent94e605237512daa518bcab9b59edbc1107840006 (diff)
downloadmediagoblin-fa72e516897a370b1e47e5f0ff17155990cd2414.tar.lz
mediagoblin-fa72e516897a370b1e47e5f0ff17155990cd2414.tar.xz
mediagoblin-fa72e516897a370b1e47e5f0ff17155990cd2414.zip
Updates to send email comments, included translation, better validation.
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r--mediagoblin/edit/forms.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py
index 83600e4d..d310c18f 100644
--- a/mediagoblin/edit/forms.py
+++ b/mediagoblin/edit/forms.py
@@ -61,18 +61,14 @@ class EditProfileForm(wtforms.Form):
class EditAccountForm(wtforms.Form):
old_password = wtforms.PasswordField(
_('Old password'),
- [wtforms.validators.Required()],
description=_(
"Enter your old password to prove you own this account."))
new_password = wtforms.PasswordField(
_('New password'),
- [wtforms.validators.Required(),
- wtforms.validators.Length(min=6, max=30)],
+ [wtforms.validators.Length(min=6, max=30)],
id="password")
-
wants_comment_notification = wtforms.BooleanField(
_('Comment notification?'),
- [wtforms.validators.Required()],
description=_("Check this box to be emailed when someone else comments on your media."))