Commit 9ea12d14 by Tom Christie

Tweak docstrings

parent 73cc7755
...@@ -24,9 +24,6 @@ from djangorestframework.utils import MSIE_USER_AGENT_REGEX ...@@ -24,9 +24,6 @@ from djangorestframework.utils import MSIE_USER_AGENT_REGEX
from djangorestframework import status from djangorestframework import status
__all__ = ('Response', 'ImmediateResponse')
class NotAcceptable(Exception): class NotAcceptable(Exception):
pass pass
...@@ -36,8 +33,9 @@ class Response(SimpleTemplateResponse): ...@@ -36,8 +33,9 @@ class Response(SimpleTemplateResponse):
An HttpResponse that may include content that hasn't yet been serialized. An HttpResponse that may include content that hasn't yet been serialized.
Kwargs: Kwargs:
- content(object). The raw content, not yet serialized. This must be simple Python - content(object). The raw content, not yet serialized.
data that renderers can handle (e.g.: `dict`, `str`, ...) 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. - renderers(list/tuple). The renderers to use for rendering the response content.
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment