Django cors headers example. The django docs are very user freindly.

Lawn Fungus