From 58ef5e913bb8ac45aa6e2bd6ddfc0d6c440c3243 Mon Sep 17 00:00:00 2001 From: Carlos Oliveira Date: Thu, 18 Dec 2014 16:16:10 -0200 Subject: [PATCH] Changed message for username validation --- colab/accounts/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colab/accounts/forms.py b/colab/accounts/forms.py index bc5f402..254d0e6 100644 --- a/colab/accounts/forms.py +++ b/colab/accounts/forms.py @@ -54,7 +54,7 @@ class UserCreationForm(UserForm): username = self.cleaned_data['username'] username = username.strip() if not username: - raise forms.ValidationError(_('This field should not be blank.')) + raise forms.ValidationError(_('This field cannot be blank.')) return username class Meta: -- libgit2 0.21.2