Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-dashboard
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-analytics-dashboard
Commits
679dff0a
Commit
679dff0a
authored
Jun 08, 2017
by
Tyler Hallada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install django-cors-headers
parent
0e5bafd8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
analytics_dashboard/settings/base.py
+3
-1
requirements/base.txt
+1
-0
No files found.
analytics_dashboard/settings/base.py
View file @
679dff0a
...
@@ -176,6 +176,7 @@ TEMPLATES = [
...
@@ -176,6 +176,7 @@ TEMPLATES = [
MIDDLEWARE_CLASSES
=
(
MIDDLEWARE_CLASSES
=
(
'django.contrib.sessions.middleware.SessionMiddleware'
,
'django.contrib.sessions.middleware.SessionMiddleware'
,
'django.middleware.locale.LocaleMiddleware'
,
'django.middleware.locale.LocaleMiddleware'
,
'corsheaders.middleware.CorsMiddleware'
,
'django.middleware.common.CommonMiddleware'
,
'django.middleware.common.CommonMiddleware'
,
'django.middleware.csrf.CsrfViewMiddleware'
,
'django.middleware.csrf.CsrfViewMiddleware'
,
'django.contrib.auth.middleware.AuthenticationMiddleware'
,
'django.contrib.auth.middleware.AuthenticationMiddleware'
,
...
@@ -229,9 +230,10 @@ LOCAL_APPS = (
...
@@ -229,9 +230,10 @@ LOCAL_APPS = (
)
)
THIRD_PARTY_APPS
=
(
THIRD_PARTY_APPS
=
(
'corsheaders'
,
'release_util'
,
'release_util'
,
'rest_framework'
,
'rest_framework'
,
'social_django'
'social_django'
,
)
)
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
...
...
requirements/base.txt
View file @
679dff0a
...
@@ -10,6 +10,7 @@ django-model-utils==2.5 # BSD
...
@@ -10,6 +10,7 @@ django-model-utils==2.5 # BSD
djangorestframework==3.4.1 # BSD
djangorestframework==3.4.1 # BSD
djangorestframework-csv==2.0.0 # BSD
djangorestframework-csv==2.0.0 # BSD
# Dependency of djangorestframework
# Dependency of djangorestframework
django-cors-headers==2.1.0 # MIT
django-crispy-forms==1.6.0 # MIT
django-crispy-forms==1.6.0 # MIT
django-soapbox==1.3 # BSD
django-soapbox==1.3 # BSD
django-waffle==0.11.1 # BSD
django-waffle==0.11.1 # BSD
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment