Django sends it response to browser it gets this error: No 'Access-Control-Allow-Origin' header is present on the requested resource

前端 未结 0 1893
你的背包
你的背包 2020-11-29 21:19

I am using Django Rest Framework as my backend and ReactJS as my frontend. My DRF files look like this

settings.py

ALLOWED_HOSTS=[\'*\']

INSTALLED_APP         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题