diff options
| author | Tom Christie | 2014-09-12 11:38:22 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-09-12 11:38:22 +0100 |
| commit | 5e39e159ee6aee90755709cfecec7d22c7ea3049 (patch) | |
| tree | 2421651bc6b329fc134ed770b1c24fc1a496ae9d /rest_framework/settings.py | |
| parent | 250755def707e1397876614fa0c08130d9fcc449 (diff) | |
| download | django-rest-framework-5e39e159ee6aee90755709cfecec7d22c7ea3049.tar.bz2 | |
UNICODE_JSON and COMPACT_JSON settings
Diffstat (limited to 'rest_framework/settings.py')
| -rw-r--r-- | rest_framework/settings.py | 3 |
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 } |
