使用鏡像源進(jìn)行下載
pip install -i https://pypi.douban.com/simple/ coreapi
在根級(jí)路由里面進(jìn)行添加
fromrest_framework.documentationimportinclude_docs_urlspath('docs/',include_docs_urls(title='測(cè)試平臺(tái)接口文檔'))
使用鏡像源進(jìn)行下載
pip install -i https://pypi.douban.com/simple/ coreapi
在根級(jí)路由里面進(jìn)行添加
fromrest_framework.documentationimportinclude_docs_urlspath('docs/',include_docs_urls(title='測(cè)試平臺(tái)接口文檔'))