随笔分类 - rest_framework
django rest_framework API
摘要:```python # 参考:
https://blog.csdn.net/linzi1994/article/details/82724429
https://www.cnblogs.com/ShaunChen/p/5998800.html # 配置详解:
# 跨域设置
CORS_ORIGIN_ALLOW_ALL = True # 允许所有域名
CORS_ALLOW_CREDENTIALS...
阅读全文