Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
4fc19f5d
Unverified
Commit
4fc19f5d
authored
5 years ago
by
Brandon Baker
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add enterprise catalog url settings to CMS (#22895)
parent
2043a294
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cms/envs/common.py
+3
-0
3 additions, 0 deletions
cms/envs/common.py
cms/envs/production.py
+4
-0
4 additions, 0 deletions
cms/envs/production.py
with
7 additions
and
0 deletions
cms/envs/common.py
+
3
−
0
View file @
4fc19f5d
...
...
@@ -103,6 +103,9 @@ from lms.envs.common import (
GENERATE_PROFILE_SCORES
,
# Enterprise service settings
ENTERPRISE_CATALOG_INTERNAL_ROOT_URL
,
# Methods to derive settings
_make_mako_template_dirs
,
_make_locale_paths
,
...
...
This diff is collapsed.
Click to expand it.
cms/envs/production.py
+
4
−
0
View file @
4fc19f5d
...
...
@@ -607,6 +607,10 @@ ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER = ENV_TOKENS.get(
'
ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER
'
,
ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER
)
ENTERPRISE_CATALOG_INTERNAL_ROOT_URL
=
ENV_TOKENS
.
get
(
'
ENTERPRISE_CATALOG_INTERNAL_ROOT_URL
'
,
ENTERPRISE_CATALOG_INTERNAL_ROOT_URL
)
# This limits the type of roles that are submittable via the `student` app's manual enrollment
# audit API. While this isn't used in CMS, it is used via Enterprise which is installed in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment