2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Added extra CORS options

- Allows AJAX requests from external sites
- If DEBUG mode is enabled, all CORS requests are allowed
This commit is contained in:
Oliver Walters
2019-05-07 10:24:39 +10:00
parent b222897358
commit 1cff778a29
2 changed files with 17 additions and 0 deletions

View File

@ -2,6 +2,7 @@ Django==2.2 # Django package
psycopg2>=2.8.1 # PostgreSQL package
pillow>=5.0.0 # Image manipulation
djangorestframework>=3.6.2 # DRF framework
django-cors-headers>=2.5.3 # CORS headers extension for DRF
django_filter>=1.0.2 # Extended filtering options
django-dbbackup==3.2.0 # Database backup / restore functionality
coreapi>=2.3.0 # API documentation