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:
Feanil Patel
2025-11-20 17:14:47 -05:00
committed by GitHub
parent 8611e6110d
commit d082d3d87c
2 changed files with 7 additions and 0 deletions

View File

@@ -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'

View File

@@ -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'