title: How can I enable CORS on Django REST Framework
body: <p>How can I enable CORS on my Django REST Framework?
  the <a href="http://www.django-rest-framework.org/topics/ajax-csrf-cors/" rel="noreferrer">reference</a> doesn't help much, it says that I can do by a middleware, but how can I do that?</p>