From 3b59a0e29647a5d7d0cd64d4ff5e92b6842aa120 Mon Sep 17 00:00:00 2001 From: Macartur Sousa Date: Tue, 9 Jun 2015 15:11:42 -0300 Subject: [PATCH] Fixing invalid user message in forms.py --- colab/accounts/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/colab/accounts/forms.py b/colab/accounts/forms.py index 50a264d..ce3b810 100644 --- a/colab/accounts/forms.py +++ b/colab/accounts/forms.py @@ -201,7 +201,8 @@ class UserCreationForm(UserForm): ". Letter, digits and _")), error_messages={ 'invalid': _(("This value may contain only" - ". Letters, digits and _"))}) + " letters, numbers and _."))} + ) password1 = forms.CharField(label=_("Password"), widget=forms.PasswordInput) password2 = forms.CharField(label=_("Password confirmation"), -- libgit2 0.21.2