aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/response.py
diff options
context:
space:
mode:
authorTom Christie2012-08-26 23:16:18 +0100
committerTom Christie2012-08-26 23:16:18 +0100
commit9ea12d14125a2a4ddc58e35ba420656f2fd29eb2 (patch)
treeebde1509d54853ed981c58e9f9690a9364d065e3 /djangorestframework/response.py
parent73cc77553ed5411f1959a51574b156a47ad5340d (diff)
downloaddjango-rest-framework-9ea12d14125a2a4ddc58e35ba420656f2fd29eb2.tar.bz2
Tweak docstrings
Diffstat (limited to 'djangorestframework/response.py')
-rw-r--r--djangorestframework/response.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/djangorestframework/response.py b/djangorestframework/response.py
index ac16e79a..f8a512d3 100644
--- a/djangorestframework/response.py
+++ b/djangorestframework/response.py
@@ -24,9 +24,6 @@ from djangorestframework.utils import MSIE_USER_AGENT_REGEX
from djangorestframework import status
-__all__ = ('Response', 'ImmediateResponse')
-
-
class NotAcceptable(Exception):
pass
@@ -36,8 +33,9 @@ class Response(SimpleTemplateResponse):
An HttpResponse that may include content that hasn't yet been serialized.
Kwargs:
- - content(object). The raw content, not yet serialized. This must be simple Python
- data that renderers can handle (e.g.: `dict`, `str`, ...)
+ - content(object). The raw content, not yet serialized.
+ This must be native Python data that renderers can handle.
+ (e.g.: `dict`, `str`, ...)
- renderers(list/tuple). The renderers to use for rendering the response content.
"""