object() takes no parameters in django 1.10

前端 未结 2 1891
再見小時候
再見小時候 2020-12-20 16:23

I\'m trying to allow CORS in my app, so that my cross-domain javascript client can access my API, I\'ve installed django-cors-headers. And I\'m now trying to add the middlew

2条回答
  •  星月不相逢
    2020-12-20 17:00

    This issue says that django-cors-headers is no longer supported, and suggests using django-cors-middleware instead.

提交回复
热议问题