mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
feat: use raw json responses instead of templates
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user