摘要: 1.安装 django-cors-headers pip install django-cors-headers 2.修改 setting.py INSTALLED_APPS = [ ... 'corsheaders', ... ] # 添加中间件 MIDDLEWARE = [ 'django.mi 阅读全文
posted @ 2019-05-19 15:43 BOSS爱龟 阅读(441) 评论(0) 推荐(0) 编辑