From 9c61a50eca16455a6cb14f345e46c0ac60f8c2a9 Mon Sep 17 00:00:00 2001 From: Muhammad Anas Date: Fri, 17 Jan 2025 19:10:22 +0500 Subject: [PATCH] fix: course outline not found issue for ccx courses --- lms/envs/production.py | 2 +- lms/envs/test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/envs/production.py b/lms/envs/production.py index 3ea1c952e479..1714cb557c52 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -448,7 +448,7 @@ def get_env_setting(setting): ##### Custom Courses for EdX ##### if FEATURES['CUSTOM_COURSES_EDX']: - INSTALLED_APPS += ['lms.djangoapps.ccx', 'openedx.core.djangoapps.ccxcon.apps.CCXConnectorConfig'] + INSTALLED_APPS += ['lms.djangoapps.ccx', 'openedx.core.djangoapps.ccxcon.apps.CCXConnectorConfig', 'cms.djangoapps.contentstore.apps.ContentstoreConfig', 'openedx.core.djangoapps.content.search', 'openedx.core.djangoapps.content_staging'] MODULESTORE_FIELD_OVERRIDE_PROVIDERS += ( 'lms.djangoapps.ccx.overrides.CustomCoursesForEdxOverrideProvider', ) diff --git a/lms/envs/test.py b/lms/envs/test.py index a9e8aaf9f2e2..75b60ba32d7c 100644 --- a/lms/envs/test.py +++ b/lms/envs/test.py @@ -412,7 +412,7 @@ FACEBOOK_API_VERSION = "v2.8" ######### custom courses ######### -INSTALLED_APPS += ['lms.djangoapps.ccx', 'openedx.core.djangoapps.ccxcon.apps.CCXConnectorConfig'] +INSTALLED_APPS += ['lms.djangoapps.ccx', 'openedx.core.djangoapps.ccxcon.apps.CCXConnectorConfig', 'cms.djangoapps.contentstore.apps.ContentstoreConfig', 'openedx.core.djangoapps.content.search', 'openedx.core.djangoapps.content_staging'] FEATURES['CUSTOM_COURSES_EDX'] = True # Set dummy values for profile image settings.