aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/renderers.md
diff options
context:
space:
mode:
authorPablo Recio2013-05-18 16:50:09 +0200
committerPablo Recio2013-05-18 17:06:54 +0200
commit71e29644a2950d8a82cb26f6a3e39fb76faf9707 (patch)
tree5cc2776b981ceec4d948f5d9fc47bc3185c5f858 /docs/api-guide/renderers.md
parent6dbbbc16da740fb27f9a5a390fb61400e9f6ff64 (diff)
downloaddjango-rest-framework-71e29644a2950d8a82cb26f6a3e39fb76faf9707.tar.bz2
Adds new renderer into the documentation
Diffstat (limited to 'docs/api-guide/renderers.md')
-rw-r--r--docs/api-guide/renderers.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/api-guide/renderers.md b/docs/api-guide/renderers.md
index b9a9fd7a..1661ceec 100644
--- a/docs/api-guide/renderers.md
+++ b/docs/api-guide/renderers.md
@@ -67,7 +67,7 @@ If your API includes views that can serve both regular webpages and API response
## JSONRenderer
-Renders the request data into `JSON`.
+Renders the request data into `JSON` enforcing ASCII encoding
The client may additionally include an `'indent'` media type parameter, in which case the returned `JSON` will be indented. For example `Accept: application/json; indent=4`.
@@ -75,6 +75,10 @@ The client may additionally include an `'indent'` media type parameter, in which
**.format**: `'.json'`
+## UnicodeJSONRenderer
+
+Same as `JSONRenderer` but doesn't enforce ASCII encoding
+
## JSONPRenderer
Renders the request data into `JSONP`. The `JSONP` media type provides a mechanism of allowing cross-domain AJAX requests, by wrapping a `JSON` response in a javascript callback.