django-cors-middleware
django-cors-middleware copied to clipboard
django-cors-middleware is DEPRECIATED, please use https://github.com/adamchainz/django-cors-headers instead.
Hi, Thanks for forking this and maintaining it given the lack of updates on `django-cors-headers`. I'm finding that when I follow the installation instructions in the README.md, I get an...
If you import `corsheaders.defaults.default_headers` in your setting file to add a custom header to the list of default allowed headers, it'll fail due to circular dependency. We can probably have...
I have a API with django-rest-framework and django-cors-headers configured in stage env ``` CORS_ORIGIN_ALLOW_ALL = False CORS_ORIGIN_WHITELIST = ( 'myotherdmain.com', ) CSRF_TRUSTED_ORIGINS = ( 'myotherdomain.com', ) ``` When I do...
``` $ python manage.py dumpdata CommandError: Unable to serialize database: relation "corsheaders_corsmodel" does not exist LINE 1: ...smodel"."id", "corsheaders_corsmodel"."cors" FROM "corsheade... ``` Manually running `makemigrations` also doesn’t help, because there...
It seems like this plugin is not compatible with django channels (daphne webserver), any plans to include this?
This patch allows for a straight-forward way of adding a file based URL (null origin) to the whitelist
Hi, I am trying to run CORS requests on a mod_wsgi Django server but I keep getting CORS issues. On my regular Django server (not https, not apache2) it works...
When I set `CORS_ORIGIN_ALLOW_ALL = True`, I can see `Access-Control-Allow-Origin: *` in the response header. However, when I set it to false, and use white list, I cannot see `Access-Control-Allow-Origin`...