adding cors to django\ code example
Example 1: django-cors-headers
$ pipenv install django-cors-headers
# or
$ pip install django-cors-headers
Example 2: django-cors-headers
INSTALLED_APPS = [
...
'corsheaders',
...
]
$ pipenv install django-cors-headers
# or
$ pip install django-cors-headers
INSTALLED_APPS = [
...
'corsheaders',
...
]