The Python Oracle

How can I enable CORS on Django REST Framework

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Fantascape Looping

--

Chapters
00:00 Question
00:23 Accepted answer (Score 321)
01:22 Answer 2 (Score 141)
02:11 Answer 3 (Score 25)
03:01 Answer 4 (Score 18)
03:24 Thank you

--

Full question
https://stackoverflow.com/questions/3576...

Question links:
[reference]: http://www.django-rest-framework.org/top.../

Accepted answer links:
[django-cors-headers]: https://github.com/ottoyiu/django-cors-h.../
[documentation]: https://github.com/ottoyiu/django-cors-h...
[the configuration section]: https://github.com/ottoyiu/django-cors-h...

Answer 2 links:
https://github.com/ottoyiu/django-cors-h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #django #cors #djangorestframework #middleware

#avk47