mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
users: cosmetic: Yapf refactoring
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
30c326523e
commit
e5cd5bd796
@ -66,8 +66,8 @@ class UsernameValidator(validators.RegexValidator):
|
|||||||
|
|
||||||
|
|
||||||
USERNAME_FIELD = forms.CharField(
|
USERNAME_FIELD = forms.CharField(
|
||||||
label=ugettext_lazy('Username'),
|
label=ugettext_lazy('Username'), max_length=150,
|
||||||
max_length=150, validators=[UsernameValidator()],
|
validators=[UsernameValidator()],
|
||||||
help_text=ugettext_lazy('Required. 150 characters or fewer. English '
|
help_text=ugettext_lazy('Required. 150 characters or fewer. English '
|
||||||
'letters, digits and @/./-/_ only.'))
|
'letters, digits and @/./-/_ only.'))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user