Commit 17de13f6522fc213dc08a15b9859713b06e37f4d

Authored by fbormann
1 parent fc9e197b

Fixing non ASC-II caracteres

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
core/forms.py
... ... @@ -12,7 +12,7 @@ class RegisterUserForm(forms.ModelForm):
12 12 def clean_email(self):
13 13 email = self.cleaned_data['email']
14 14 if User.objects.filter(email = email).exists():
15   - raise forms.ValidationError('Já existe um usuário cadastrado com este E-mail')
  15 + raise forms.ValidationError('Ja existe um usuario cadastrado com este E-mail')
16 16 return email
17 17  
18 18 def clean_password(self):
... ... @@ -35,7 +35,7 @@ class RegisterUserForm(forms.ModelForm):
35 35 password2 = self.cleaned_data.get("password2")
36 36  
37 37 if password and password2 and password != password2:
38   - raise forms.ValidationError('A confirmacão da senha está incorreta')
  38 + raise forms.ValidationError('A confirmacao da senha esta incorreta')
39 39 return password2
40 40  
41 41 def save(self, commit=True):
... ...