From fd49308250d1eb024eac9dcbb8d7aceb075bf098 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Thu, 20 Nov 2014 11:56:39 +0100 Subject: [PATCH] Add missing requirement (django CORS) --- requirements.txt | 1 + wger/settings_global.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8043a6c8c..5ee5081f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,6 +20,7 @@ django-bootstrap-breadcrumbs djangorestframework==2.3.13 django-filter django-tastypie==0.9.16 +django-cors-headers # Python3 compatibility six diff --git a/wger/settings_global.py b/wger/settings_global.py index 3ff5d2243..59cbc0c89 100644 --- a/wger/settings_global.py +++ b/wger/settings_global.py @@ -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/.*$' \ No newline at end of file +CORS_URLS_REGEX = r'^/api/.*$'