summaryrefslogtreecommitdiffstats
path: root/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'forms.py')
-rw-r--r--forms.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/forms.py b/forms.py
index 063412b..4d57d63 100644
--- a/forms.py
+++ b/forms.py
@@ -24,13 +24,13 @@ class RegisterForm(Form):
raise ValidationError(Markup(u'Dieser Benutzername ist momentan nicht erlaubt. '
u'<a href="%s">Weitere Informationen</a>' % url_for('about')))
- else:
- print 'not in blacklist: %r' % field.data
- else:
- print 'no blacklist'
else:
raise ValidationError(u'Dieser Benutzername ist schon vergeben')
+ def validate_mail(form, field):
+ #TODO
+ pass
+
class RegisterCompleteForm(Form):
password = PasswordField('Passwort', [validators.Required(),