diff options
Diffstat (limited to 'forms.py')
-rw-r--r-- | forms.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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(), |