django allow custom headers code example Example: django-cors-headers $ pipenv install django-cors-headers # or $ pip install django-cors-headers