python - Django-rest-framework: set default renderer not working? - Stack Overflow

PHOTO EMBED

Mon Dec 05 2022 16:27:39 GMT+0000 (UTC)

Saved by @2019cs238 #python #json #renderer

REST_FRAMEWORK = { 
 (...)
'DEFAULT_CONTENT_NEGOTIATION_CLASS': 'myapp.renderers.IgnoreClientContentNegotiation',
}
content_copyCOPY

https://stackoverflow.com/questions/29451994/django-rest-framework-set-default-renderer-not-working