django-cors-headers not work

后端 未结 13 1407
情深已故
情深已故 2020-12-29 04:10

django-cors-headers not work

INSTALLED_APPS = (
    \'django.contrib.admin\',
    \'django.contrib.auth\',
    \'django.contrib.contenttypes\',
    \'django.         


        
13条回答
  •  失恋的感觉
    2020-12-29 04:23

    What I did was depreciate the version of django-cors-headers for it to work. I moved from version 3.2.1 to 2.4.0. You can do that by installing the specific version using pip

    pip install django-cors-headers==2.4.0
    

提交回复
热议问题