Just in case, someone is looking for jsonp .
First ( docs ):
pip install djangorestframework-jsonp
And then change the settings of the REST environment.
REST_FRAMEWORK = { 'DEFAULT_RENDERER_CLASSES': ( 'rest_framework_jsonp.renderers.JSONPRenderer', ), }
Finally, make sure your url contains ?format=jsonp and not ?format=json-p .
source share