[drf]访问文档出现错误'AutoSchema' object has no attribute 'get_link'
- 报错
'AutoSchema' object has no attribute 'get_link'
- 解决 参考
REST_FRAMEWORK = {
'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.AutoSchema'
}
REST_FRAMEWORK = {
'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema'
}