Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
9660e132
Commit
9660e132
authored
Mar 25, 2017
by
Jillian Vogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds ENTERPRISE_ENROLLMENT_API_URL to cms.envs.common
Fixes migration error thrown by edxapp-migrate-cms
parent
ea093350
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
cms/envs/common.py
+5
-0
No files found.
cms/envs/common.py
View file @
9660e132
...
...
@@ -319,6 +319,7 @@ AUTHENTICATION_BACKENDS = (
LMS_BASE
=
None
LMS_ROOT_URL
=
"http://localhost:8000"
ENTERPRISE_API_URL
=
LMS_ROOT_URL
+
'/enterprise/api/v1/'
# These are standard regexes for pulling out info like course_ids, usage_ids, etc.
# They are used so that URLs with deprecated-format strings still work.
...
...
@@ -1250,3 +1251,7 @@ RETRY_ACTIVATION_EMAIL_TIMEOUT = 0.5
# How long until database records about the outcome of a task and its artifacts get deleted?
USER_TASKS_MAX_AGE
=
timedelta
(
days
=
7
)
############## Settings for the Enterprise App ######################
ENTERPRISE_ENROLLMENT_API_URL
=
LMS_ROOT_URL
+
"/api/enrollment/v1/"
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