渲染器默认存放位置:
在默认配置下 default-settings里 (APIVIEW点击去-->
1. renderer_classes = api_settings.DEFAULT_RENDERER_CLASSES
2. api_settings = APISettings(None, DEFAULTS, IMPORT_STRINGS),
3. 点击DEFAULTS进入进去.
)
DEFAULTS = { # Base API policies 'DEFAULT_RENDERER_CLASSES': ( 'rest_framework.renderers.JSONRenderer', 'rest_framework.renderers.BrowsableAPIRenderer', ),