How to add CORS headers to a Django view for use with a Cordova app

Suppose you want to access some JSON data from a mobile app using Cordova. You have to bypass CORS restrictions in the web view, and to do that you have to provide some HTTP headers in your Django views.

Read More »

Advertisements