aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/settings.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/settings.py
parent250755def707e1397876614fa0c08130d9fcc449 (diff)
downloaddjango-rest-framework-5e39e159ee6aee90755709cfecec7d22c7ea3049.tar.bz2
UNICODE_JSON and COMPACT_JSON settings
Diffstat (limited to 'rest_framework/settings.py')
-rw-r--r--rest_framework/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rest_framework/settings.py b/rest_framework/settings.py
index f48643b5..e55610bb 100644
--- a/rest_framework/settings.py
+++ b/rest_framework/settings.py
@@ -112,6 +112,9 @@ DEFAULTS = {
),
'TIME_FORMAT': None,
+ # Encoding
+ 'UNICODE_JSON': True,
+ 'COMPACT_JSON': True
}