mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Merge pull request #3025 from ryanpetrello/django-cors-headers
add Django CORS middleware Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -252,6 +252,7 @@ TEMPLATES = [
|
||||
MIDDLEWARE_CLASSES = ( # NOQA
|
||||
'awx.main.middleware.TimingMiddleware',
|
||||
'awx.main.middleware.MigrationRanCheckMiddleware',
|
||||
'corsheaders.middleware.CorsMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.locale.LocaleMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
@@ -284,6 +285,7 @@ INSTALLED_APPS = (
|
||||
'polymorphic',
|
||||
'taggit',
|
||||
'social_django',
|
||||
'corsheaders',
|
||||
'awx.conf',
|
||||
'awx.main',
|
||||
'awx.api',
|
||||
|
||||
1
docs/licenses/django-cors-headers.txt
Normal file
1
docs/licenses/django-cors-headers.txt
Normal file
@@ -0,0 +1 @@
|
||||
Copyright 2017 Otto Yiu and other contributors
|
||||
@@ -8,6 +8,7 @@ daphne==1.3.0 # Last before backwards-incompatible channels 2 upgrade
|
||||
defusedxml==0.5.0 # py36 support https://github.com/tiran/defusedxml/pull/4
|
||||
Django==1.11.16
|
||||
django-auth-ldap==1.7.0
|
||||
django-cors-headers==2.4.0
|
||||
django-crum==0.7.2
|
||||
django-extensions==2.0.0
|
||||
django-jsonfield==1.0.1
|
||||
|
||||
@@ -78,6 +78,7 @@ pyrad==2.1 # via django-radius
|
||||
pysocks==1.6.8
|
||||
python-dateutil==2.7.2
|
||||
python-ldap==3.1.0 # via django-auth-ldap
|
||||
django-cors-headers==2.4.0
|
||||
python-logstash==0.4.6
|
||||
python-memcached==1.59
|
||||
python3-openid>=3.0.10 # via social-auth-core
|
||||
|
||||
Reference in New Issue
Block a user