aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Binney2014-09-10 20:27:52 -0700
committerJoe Binney2014-09-10 20:27:52 -0700
commit37d01f6088b1cf5673f66f4532dd51c73a0156f1 (patch)
tree40d89ef8dae6c9246c68239d8aa59dbe0f5abc41
parent1d4e0131c3daf0407a6f369ac6b70486b3dc78ee (diff)
downloaddjango-rest-framework-37d01f6088b1cf5673f66f4532dd51c73a0156f1.tar.bz2
Fix grammar in login error message
-rw-r--r--rest_framework/authtoken/serializers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/authtoken/serializers.py b/rest_framework/authtoken/serializers.py
index 99e99ae3..472e59ee 100644
--- a/rest_framework/authtoken/serializers.py
+++ b/rest_framework/authtoken/serializers.py
@@ -22,7 +22,7 @@ class AuthTokenSerializer(serializers.Serializer):
attrs['user'] = user
return attrs
else:
- msg = _('Unable to login with provided credentials.')
+ msg = _('Unable to log in with provided credentials.')
raise serializers.ValidationError(msg)
else:
msg = _('Must include "username" and "password"')