feat: use raw json responses instead of templates

This commit is contained in:
ramvignesh-b
2026-04-26 13:16:15 +05:30
parent 2896c60c5f
commit ce370a9fc6
+2
View File
@@ -78,6 +78,8 @@ MIDDLEWARE = [
"django_structlog.middlewares.RequestMiddleware",
]
REST_FRAMEWORK = {"DEFAULT_RENDERER_CLASSES": ("rest_framework.renderers.JSONRenderer",)}
ROOT_URLCONF = "config.urls"
WSGI_APPLICATION = "config.wsgi.application"