Commit 3b59a0e29647a5d7d0cd64d4ff5e92b6842aa120
1 parent
1e41fe24
Exists in
spb-release/3.0
and in
2 other branches
Fixing invalid user message in forms.py
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
colab/accounts/forms.py
... | ... | @@ -201,7 +201,8 @@ class UserCreationForm(UserForm): |
201 | 201 | ". Letter, digits and _")), |
202 | 202 | error_messages={ |
203 | 203 | 'invalid': _(("This value may contain only" |
204 | - ". Letters, digits and _"))}) | |
204 | + " letters, numbers and _."))} | |
205 | + ) | |
205 | 206 | password1 = forms.CharField(label=_("Password"), |
206 | 207 | widget=forms.PasswordInput) |
207 | 208 | password2 = forms.CharField(label=_("Password confirmation"), | ... | ... |