1
You are requesting data from phant app to django app. You need to add Access-Control-Allow-Origin
header on django app.
Posting how you are adding ‘Access-Control-Allow-Origin’ to Django app will be helpful to answer.
You may consider using django-cors-headers. Check the configuration options carefully.
Source:stackexchange.com