disabled DRF web interface
This commit is contained in:
@@ -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',)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user