diff --git a/lms/envs/production.py b/lms/envs/production.py index 3ea1c952e47..a7ee2e2136c 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -448,10 +448,13 @@ 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', ) + COURSE_IMPORT_EXPORT_STORAGE = DEFAULT_FILE_STORAGE FIELD_OVERRIDE_PROVIDERS = tuple(FIELD_OVERRIDE_PROVIDERS) diff --git a/lms/envs/test.py b/lms/envs/test.py index a9e8aaf9f2e..981ef5d94f8 100644 --- a/lms/envs/test.py +++ b/lms/envs/test.py @@ -412,8 +412,11 @@ 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 +COURSE_IMPORT_EXPORT_STORAGE = 'django.core.files.storage.FileSystemStorage' # Set dummy values for profile image settings. PROFILE_IMAGE_BACKEND = {