Fix failures caused by removing lms/djangoapps from sys.path

This commit is contained in:
Calen Pennington
2020-09-22 11:38:54 -04:00
committed by Calen Pennington
parent 211bd3beb5
commit 4a120a9e26
51 changed files with 298 additions and 282 deletions

View File

@@ -13,7 +13,7 @@ from path import Path
# TODO: Remove the rest of the sys.path modification here and in (cms|lms)/envs/common.py
REPO_ROOT = Path(__file__).abspath().dirname().dirname().dirname() # /edx-platform/
sys.path.append(REPO_ROOT / 'common' / 'djangoapps')
sys.path.append(REPO_ROOT / 'lms' / 'djangoapps')
sys.path.append(REPO_ROOT / 'sys_path_hacks' / 'lms')
ALL_LANGUAGES = []
@@ -90,7 +90,7 @@ INSTALLED_APPS = (
'openedx.core.djangoapps.external_user_ids',
'openedx.core.djangoapps.demographics',
'experiments',
'lms.djangoapps.experiments',
'openedx.features.content_type_gating',
'openedx.features.course_duration_limits',
'openedx.features.discounts',