aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/responses.md
diff options
context:
space:
mode:
authorTom Christie2012-10-10 12:15:18 +0100
committerTom Christie2012-10-10 12:15:18 +0100
commit648d2be29b0738999742f4d844caab7b7652d1ad (patch)
treeaa4b8a630231f06477e2356abcfee80d54d2c8d8 /docs/api-guide/responses.md
parentccd2b0117d9c26199b1862a302b1eb06dd2f07b2 (diff)
downloaddjango-rest-framework-648d2be29b0738999742f4d844caab7b7652d1ad.tar.bz2
Make sure JSON output in Browseable API is nicely indented
Diffstat (limited to 'docs/api-guide/responses.md')
-rw-r--r--docs/api-guide/responses.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/api-guide/responses.md b/docs/api-guide/responses.md
index e0198324..b0de6824 100644
--- a/docs/api-guide/responses.md
+++ b/docs/api-guide/responses.md
@@ -82,6 +82,11 @@ The media type that was selected by the content negotiation stage.
Set automatically by the `APIView` or `@api_view` immediately before the response is returned from the view.
+## .renderer_context
+
+A dictionary of additional context information that will be passed to the renderer's `.render()` method.
+
+Set automatically by the `APIView` or `@api_view` immediately before the response is returned from the view.
[cite]: https://docs.djangoproject.com/en/dev/ref/template-response/
[statuscodes]: status-codes.md