aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/authentication.py
diff options
context:
space:
mode:
authorTymur Maryokhin2014-12-05 00:29:28 +0100
committerTymur Maryokhin2014-12-05 00:29:28 +0100
commitd9930181ee157f51e2fcea33a3af5ea397647324 (patch)
tree06e65d1f2a34b70c912dfa3e696611ca0cc00a65 /rest_framework/authentication.py
parent45dc44b2038f5533a472b015c45200b5d1ca6052 (diff)
downloaddjango-rest-framework-d9930181ee157f51e2fcea33a3af5ea397647324.tar.bz2
Removed unused imports, pep8 fixes, typo fixes
Diffstat (limited to 'rest_framework/authentication.py')
-rw-r--r--rest_framework/authentication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/authentication.py b/rest_framework/authentication.py
index 36d74dd9..4832ad33 100644
--- a/rest_framework/authentication.py
+++ b/rest_framework/authentication.py
@@ -267,7 +267,7 @@ class OAuthAuthentication(BaseAuthentication):
def authenticate_header(self, request):
"""
If permission is denied, return a '401 Unauthorized' response,
- with an appropraite 'WWW-Authenticate' header.
+ with an appropriate 'WWW-Authenticate' header.
"""
return 'OAuth realm="%s"' % self.www_authenticate_realm