fix tests

This commit is contained in:
zema1 committed 2017-10-21 10:51:35 +08:00
1 parent f5566148bc
commit d8bf33a12d
8 files changed
+80 -46

No files matched your search

+6
View File
@@ -163,6 +163,12 @@ LOGGING = {
}
},
}
REST_FRAMEWORK = {
'TEST_REQUEST_DEFAULT_FORMAT': 'json',
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',
)
}
REDIS_URL = "redis://127.0.0.1:6379"