Fri 27 May 2016 web 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. You can do this pretty easily by using this mixin in …