Skip to content

Commit

Permalink
fix: course outline not found issue for ccx courses
Browse files Browse the repository at this point in the history
  • Loading branch information
Anas12091101 committed Jan 17, 2025
1 parent 1593923 commit 9c61a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
Expand Down
2 changes: 1 addition & 1 deletion lms/envs/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9c61a50

Please sign in to comment.