django2.2 RES框架接口生成文檔

1、pip install coreapi 2、settings配置 REST_FRAMEWORK = { ‘DEFAULT_SCHEMA_CLASS’: ‘rest_framework.schemas.coreapi.AutoSchema’, } 3、根路由urls.py from rest_framework.documentation import include_docs_urls # 接
相關文章
相關標籤/搜索