I’m developing a Phonegap app for my Django based app, but when trying to make Ajax calls I get this error: How can I make it so my Django app allows cross origin for some urls? Here’s my Ajax code: Answer Django by default does not provide the headers necessary to provide cross origin. The easiest way would be to