Merge pull request #1863 from jbinney/master

Fix grammar in login error message
This commit is contained in:
Tom Christie 2014-09-11 09:20:01 +01:00
commit 2937285790

View File

@ -22,7 +22,7 @@ class AuthTokenSerializer(serializers.Serializer):
attrs['user'] = user attrs['user'] = user
return attrs return attrs
else: else:
msg = _('Unable to login with provided credentials.') msg = _('Unable to log in with provided credentials.')
raise serializers.ValidationError(msg) raise serializers.ValidationError(msg)
else: else:
msg = _('Must include "username" and "password"') msg = _('Must include "username" and "password"')