Add enterprise catalog url settings to CMS (#22895)

This commit is contained in:
Brandon Baker
2020-01-17 14:26:42 -05:00
committed by GitHub
parent 2043a29477
commit 4fc19f5d8c
2 changed files with 7 additions and 0 deletions

View File

@@ -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,

View File

@@ -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