django-cors-headers
$ pipenv install django-cors-headers
# or
$ pip install django-cors-headersdjango-cors-headers
$ pipenv install django-cors-headers
# or
$ pip install django-cors-headersdjango how to avoid cors issue
pip install django-cors-headers
#settings.py
INSTALLED_APPS = [
    ...
    'corsheaders',
    ...
]
MIDDLEWARE = [
    ...
    'corsheaders.middleware.CorsMiddleware',
    ...
]
ALLOWED_HOSTS=['*']
CORS_ORIGIN_ALLOW_ALL = Truedjango cors install
pip install django-cors-headersCopyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us
