]> git.openstreetmap.org Git - osqa.git/commitdiff
fixes OSQA-205 - messsages instead of messages
authormatt <matt@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 1 May 2010 19:11:23 +0000 (19:11 +0000)
committermatt <matt@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 1 May 2010 19:11:23 +0000 (19:11 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@112 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/utils/forms.py

index 552cf28a980ee80d604060158dc51c59ea21fe9b..aef2f1904b71db586a9c01bc4d0722e676242a33 100644 (file)
@@ -115,7 +115,7 @@ class UserEmailField(forms.EmailField):
         if settings.EMAIL_UNIQUE == True:
             try:
                 user = User.objects.get(email = email)
-                raise forms.ValidationError(self.error_messsages['taken'])
+                raise forms.ValidationError(self.error_messages['taken'])
             except User.DoesNotExist:
                 return email
             except User.MultipleObjectsReturned: