首页 > 技术文章 > rest_framework 跨域访问
dcq1 2020-10-28 09:59 原文
pip install django-cors-headers
CORS_ORIGIN_ALLOW_ALL = True