Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Feb 8, 2013
1 parent 02a5ee0 commit f65e11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class SignupForm(forms.Form):

def clean_username(self):
if not alnum_re.search(self.cleaned_data["username"]):
raise forms.ValidationError(_("Usernames can only contain letters, numbers andthe following special characters ./+/-/_"))
raise forms.ValidationError(_("Usernames can only contain letters, numbers and the following special characters ./+/-/_"))
qs = User.objects.filter(username__iexact=self.cleaned_data["username"])
if not qs.exists():
return self.cleaned_data["username"]
Expand Down

0 comments on commit f65e11a

Please sign in to comment.