summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-02-01 20:18:38 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2016-02-02 04:23:27 +0100
commit7498b4dc956d6ea74f955027f867eab332a0fffa (patch)
tree391c8e23d6788f94d34557a52634f6fc0dd6a105
parente300358e7c2d7619a57cafe2232b298ea796b395 (diff)
downloadweb-7498b4dc956d6ea74f955027f867eab332a0fffa.tar.gz
web-7498b4dc956d6ea74f955027f867eab332a0fffa.tar.bz2
web-7498b4dc956d6ea74f955027f867eab332a0fffa.zip
forms: Remove unused variable
-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 '