disabled DRF web interface
This commit is contained in:
@@ -51,3 +51,7 @@ SIMPLE_JWT = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||||
|
|
||||||
|
# disable web interface for REST backend
|
||||||
|
|
||||||
|
# REST_FRAMEWORK['DEFAULT_RENDERER_CLASSES'] = ('rest_framework.renderers.JSONRenderer',)
|
||||||
|
|||||||
@@ -80,3 +80,8 @@ SIMPLE_JWT = {
|
|||||||
'SLIDING_TOKEN_REFRESH_LIFETIME': timedelta(days=1),
|
'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