fix: Make sure that the features proxy works w/devstack settings. (#37666)
Without this the devstack settings don't correctly proxy the features updates made to get devstack working. Co-authored-by: Kyle McCormick <kyle@axim.org>
This commit is contained in:
@@ -6,8 +6,12 @@ Specific overrides to the base prod settings to make development easier.
|
||||
import logging
|
||||
from os.path import abspath, dirname, join
|
||||
|
||||
from openedx.core.lib.features_setting_proxy import FeaturesProxy
|
||||
|
||||
from .production import * # pylint: disable=wildcard-import, unused-wildcard-import
|
||||
|
||||
FEATURES = FeaturesProxy(globals())
|
||||
|
||||
# Don't use S3 in devstack, fall back to filesystem
|
||||
STORAGES['default']['BACKEND'] = 'django.core.files.storage.FileSystemStorage'
|
||||
COURSE_IMPORT_EXPORT_STORAGE = 'django.core.files.storage.FileSystemStorage'
|
||||
|
||||
@@ -14,8 +14,11 @@ from edx_django_utils.plugins import add_plugins
|
||||
|
||||
from openedx.core.djangoapps.plugins.constants import ProjectType, SettingsType
|
||||
|
||||
from openedx.core.lib.features_setting_proxy import FeaturesProxy
|
||||
|
||||
from .production import * # pylint: disable=wildcard-import, unused-wildcard-import
|
||||
|
||||
FEATURES = FeaturesProxy(globals())
|
||||
# Don't use S3 in devstack, fall back to filesystem
|
||||
STORAGES['default']['BACKEND'] = 'django.core.files.storage.FileSystemStorage'
|
||||
ORA2_FILEUPLOAD_BACKEND = 'django'
|
||||
|
||||
Reference in New Issue
Block a user