Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
9ea12d14
Commit
9ea12d14
authored
Aug 26, 2012
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak docstrings
parent
73cc7755
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
djangorestframework/response.py
+3
-5
No files found.
djangorestframework/response.py
View file @
9ea12d14
...
@@ -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.
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment