mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 13:04:03 +03:00
Tweak docstrings
This commit is contained in:
parent
73cc77553e
commit
9ea12d1412
|
@ -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):
|
||||||
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.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user