create a django and react readonly web app 1

create a django and react readonly web app

REST_FRAMEWORK = {
    'DEFAULT_RENDERER_CLASSES': (
        'rest_framework.renderers.JSONRenderer',
    )
}

Here is what the above code is Doing:
1. We’re importing the default Django settings module.
2. We’re overriding the default settings with our own.
3. We’re importing the default Django REST framework settings module.
4. We’re overriding the default settings with our own.

Similar Posts