Commits

Bruno Clermont  committed 346ed3e

backport d7b0aaaae3a1 in stable

  • Participants
  • Parent commits d073602
  • Branches v0.7.1

Comments (0)

Files changed (1)

File registration/forms.py

         
         """
         try:
-            user = User.objects.get(username__iexact=self.cleaned_data['username'])
+            user = User.objects.get(username=self.cleaned_data['username'])
         except User.DoesNotExist:
             return self.cleaned_data['username']
         raise forms.ValidationError(_(u'This username is already taken. Please choose another.'))