Cross-Origin Request Blocked:(Solved)

The problem occurs when I tried to get/send request to other site developed in django. Actually I wanted to handle my app from other app with Json response. The error message is:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http// (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

1.django-cors-headers add to django app to allow request from other url.
2. Change view return method: