aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/parsers.py
diff options
context:
space:
mode:
authorTom Christie2014-09-12 11:38:22 +0100
committerTom Christie2014-09-12 11:38:22 +0100
commit5e39e159ee6aee90755709cfecec7d22c7ea3049 (patch)
tree2421651bc6b329fc134ed770b1c24fc1a496ae9d /rest_framework/parsers.py
parent250755def707e1397876614fa0c08130d9fcc449 (diff)
downloaddjango-rest-framework-5e39e159ee6aee90755709cfecec7d22c7ea3049.tar.bz2
UNICODE_JSON and COMPACT_JSON settings
Diffstat (limited to 'rest_framework/parsers.py')
-rw-r--r--rest_framework/parsers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/parsers.py b/rest_framework/parsers.py
index c287908d..fa02ecf1 100644
--- a/rest_framework/parsers.py
+++ b/rest_framework/parsers.py
@@ -48,7 +48,7 @@ class JSONParser(BaseParser):
"""
media_type = 'application/json'
- renderer_class = renderers.UnicodeJSONRenderer
+ renderer_class = renderers.JSONRenderer
def parse(self, stream, media_type=None, parser_context=None):
"""