disabled DRF web interface

This commit is contained in:
Sam
2021-02-26 10:24:02 +00:00
parent a0c3c18302
commit 9b02c05f4e
2 changed files with 9 additions and 0 deletions

View File

@@ -80,3 +80,8 @@ SIMPLE_JWT = {
'SLIDING_TOKEN_REFRESH_LIFETIME': timedelta(days=1),
}
# disable web interface for REST backend
REST_FRAMEWORK['DEFAULT_RENDERER_CLASSES'] = ('rest_framework.renderers.JSONRenderer',)