Commit 58ef5e913bb8ac45aa6e2bd6ddfc0d6c440c3243
Committed by
Sergio Oliveira
1 parent
762529b4
Exists in
master
and in
39 other branches
Changed message for username validation
Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
colab/accounts/forms.py
... | ... | @@ -54,7 +54,7 @@ class UserCreationForm(UserForm): |
54 | 54 | username = self.cleaned_data['username'] |
55 | 55 | username = username.strip() |
56 | 56 | if not username: |
57 | - raise forms.ValidationError(_('This field should not be blank.')) | |
57 | + raise forms.ValidationError(_('This field cannot be blank.')) | |
58 | 58 | return username |
59 | 59 | |
60 | 60 | class Meta: | ... | ... |