Activation de CORS pour l'accès à l'API :

* accès total en mode développement
  * accès restreint à l'URL /api en mode production
This commit is contained in:
2017-09-07 18:27:10 +02:00
parent ea2d3d0c43
commit 8847c351c1
7 changed files with 20 additions and 2 deletions

View File

@ -4,3 +4,4 @@ PyYAML==3.12
uWSGI==2.0.15
djangorestframework==3.6.4
coreapi==2.3.1
django-cors-headers==2.1.0