forked from DGNum/gestioCOF
django-cors-headers for cross-domain AJAX
This commit is contained in:
parent
7d16001ee5
commit
4bd2562edf
2 changed files with 3 additions and 0 deletions
|
@ -91,9 +91,11 @@ INSTALLED_APPS = [
|
|||
'modelcluster',
|
||||
'taggit',
|
||||
'kfet.cms',
|
||||
'corsheaders',
|
||||
]
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
'corsheaders.middleware.CorsMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
|
|
|
@ -25,6 +25,7 @@ channels==1.1.5
|
|||
python-dateutil
|
||||
wagtail==1.10.*
|
||||
wagtailmenus==2.2.*
|
||||
django-cors-headers==2.1.0
|
||||
|
||||
# Production tools
|
||||
wheel
|
||||
|
|
Loading…
Reference in a new issue