Oz Bar-Shalom
Oz Bar-Shalom

Reputation: 1855

Enable CORS in Django 1.11

I am using Django 1.11 and it seems that the python module django-cors-headers is till Django 1.10.

In the Django documentation, they mention to use this module or write custom middleware. I did not find any information online about writing cors middleware for Django 1.11 and the examples for previews versions did not work.

Any ideas? Thank you!

Upvotes: 1

Views: 1198

Answers (1)

a7f4
a7f4

Reputation: 11

django-cors-headers 3.2.1 should works with django 1.11 according to their documentation for 3.2.1 version. https://pypi.org/project/django-cors-headers/3.2.1/

Upvotes: 1

Related Questions