summaryrefslogtreecommitdiffstats
path: root/accounts/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/forms.py')
-rw-r--r--accounts/forms.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/accounts/forms.py b/accounts/forms.py
index bbae07f..8653653 100644
--- a/accounts/forms.py
+++ b/accounts/forms.py
@@ -5,14 +5,9 @@ from flask.ext.login import current_user
from wtforms import TextField, PasswordField, ValidationError, BooleanField,\
validators
from wtforms.form import FormMeta
-from functools import partial
from utils import _username_re, _username_exclude_re, NotRegexp, url_for
-username = partial(TextField, 'Benutzername', [validators.Regexp(_username_re,
- message=u'Benutzername darf nur aus a-z und - bestehen (2-16 Zeichen)')])
-
-
class RegisterForm(Form):
username = TextField('Benutzername', [
validators.Regexp(_username_re, message=u'Benutzername darf nur aus '