aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-09-04 22:26:57 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-09-04 22:26:57 -0500
commit6be33a778098e38b4951dd358c5016e9fcd280e6 (patch)
tree929b063d3c9b9f3edbf7f0cf391667e574798b9d
parentb998d80be469cd1bf49085462cb51a0a02350585 (diff)
downloadmediagoblin-6be33a778098e38b4951dd358c5016e9fcd280e6.tar.lz
mediagoblin-6be33a778098e38b4951dd358c5016e9fcd280e6.tar.xz
mediagoblin-6be33a778098e38b4951dd358c5016e9fcd280e6.zip
Removing description field cruft that mostly existed for testing purposes. :)
-rw-r--r--mediagoblin/auth/forms.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/mediagoblin/auth/forms.py b/mediagoblin/auth/forms.py
index daf7b993..1dfaf095 100644
--- a/mediagoblin/auth/forms.py
+++ b/mediagoblin/auth/forms.py
@@ -24,18 +24,14 @@ class RegistrationForm(wtforms.Form):
_('Username'),
[wtforms.validators.Required(),
wtforms.validators.Length(min=3, max=30),
- wtforms.validators.Regexp(r'^\w+$')],
- description=_(
- u"This is the name other users will identify you with."))
+ wtforms.validators.Regexp(r'^\w+$')])
password = wtforms.PasswordField(
_('Password'),
[wtforms.validators.Required(),
wtforms.validators.Length(min=6, max=30),
wtforms.validators.EqualTo(
'confirm_password',
- _('Passwords must match.'))],
- description=_(
- u"Try to use a strong password!"))
+ _('Passwords must match.'))])
confirm_password = wtforms.PasswordField(
_('Confirm password'),
[wtforms.validators.Required()],
@@ -44,9 +40,7 @@ class RegistrationForm(wtforms.Form):
email = wtforms.TextField(
_('Email address'),
[wtforms.validators.Required(),
- wtforms.validators.Email()],
- description=_(
- u"Your email will never be published."))
+ wtforms.validators.Email()])
class LoginForm(wtforms.Form):