Skip to content
Snippets Groups Projects
Commit 906729e2 authored by Christian Dresen's avatar Christian Dresen
Browse files

[WarpInfra] Added rest debug settings

parent 6a917e09
No related branches found
No related tags found
No related merge requests found
...@@ -225,4 +225,10 @@ REST_FRAMEWORK = { ...@@ -225,4 +225,10 @@ REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': [ 'DEFAULT_PERMISSION_CLASSES': [
# 'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly' # 'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
] ]
} }
if not DEBUG:
REST_FRAMEWORK['DEFAULT_RENDERER_CLASSES'] = [
'rest_framework.renderers.JSONRenderer'
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment