diff --git a/config/settings.py b/config/settings.py index 5c491354..7a59fc5a 100644 --- a/config/settings.py +++ b/config/settings.py @@ -163,6 +163,7 @@ REST_FRAMEWORK = { "DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema", "DEFAULT_VERSIONING_CLASS": "rest_framework.versioning.NamespaceVersioning", + "DEFAULT_RENDERER_CLASSES": ["rest_framework.renderers.JSONRenderer"], "EXCEPTION_HANDLER": "open_prices.common.middleware.custom_exception_handler", "DEFAULT_FILTER_BACKENDS": ["django_filters.rest_framework.DjangoFilterBackend"], "ORDERING_PARAM": "order_by",