Add missing requirement (django CORS)

This commit is contained in:
Roland Geider
2014-11-20 11:56:39 +01:00
parent a30390edb7
commit fd49308250
2 changed files with 2 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ django-bootstrap-breadcrumbs
djangorestframework==2.3.13
django-filter
django-tastypie==0.9.16
django-cors-headers
# Python3 compatibility
six

View File

@@ -369,4 +369,4 @@ SOUTH_MIGRATION_MODULES = {
# Set CORS policy: allow all hosts to access the API
CORS_ORIGIN_ALLOW_ALL = True
CORS_URLS_REGEX = r'^/api/.*$'
CORS_URLS_REGEX = r'^/api/.*$'