aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/response.py
diff options
context:
space:
mode:
authorTom Christie2011-04-11 13:45:38 +0100
committerTom Christie2011-04-11 13:45:38 +0100
commitcb9fb6ef2f9ac38c4f1c3946252a542b1f3f15d7 (patch)
treebde00f0ae3c0dbbb148d727b424da497e1f6b49f /djangorestframework/response.py
parent941742593c50dcb0e1ca426621d107f12c9ee65c (diff)
downloaddjango-rest-framework-cb9fb6ef2f9ac38c4f1c3946252a542b1f3f15d7.tar.bz2
Refactoring of authentication/permissions
Diffstat (limited to 'djangorestframework/response.py')
-rw-r--r--djangorestframework/response.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/djangorestframework/response.py b/djangorestframework/response.py
index fb2e14a2..809e1754 100644
--- a/djangorestframework/response.py
+++ b/djangorestframework/response.py
@@ -8,7 +8,7 @@ class NoContent(object):
"""Used to indicate no body in http response.
(We cannot just use None, as that is a valid, serializable response object.)
- TODO: On relflection I'm going to get rid of this and just not support serailized 'None' responses.
+ TODO: On reflection I'm going to get rid of this and just not support serialized 'None' responses.
"""
pass
@@ -23,8 +23,8 @@ class Response(object):
@property
def status_text(self):
- """Return reason text corrosponding to our HTTP response status code.
- Provided for convienience."""
+ """Return reason text corresponding to our HTTP response status code.
+ Provided for convenience."""
return STATUS_CODE_TEXT.get(self.status, '')