fix(settings): replace DEFAULT_FILE_STORAGE with STORAGES[default]
This commit is contained in:
committed by
GitHub
parent
0ab677af34
commit
39028b9500
@@ -9,7 +9,7 @@ from os.path import abspath, dirname, join
|
||||
from .production import * # pylint: disable=wildcard-import, unused-wildcard-import
|
||||
|
||||
# Don't use S3 in devstack, fall back to filesystem
|
||||
del DEFAULT_FILE_STORAGE
|
||||
STORAGES['default']['BACKEND'] = 'django.core.files.storage.FileSystemStorage'
|
||||
COURSE_IMPORT_EXPORT_STORAGE = 'django.core.files.storage.FileSystemStorage'
|
||||
USER_TASKS_ARTIFACT_STORAGE = COURSE_IMPORT_EXPORT_STORAGE
|
||||
|
||||
@@ -56,7 +56,7 @@ FEATURES['ENABLE_VIDEO_UPLOAD_PIPELINE'] = True
|
||||
|
||||
# Skip packaging and optimization in development
|
||||
PIPELINE['PIPELINE_ENABLED'] = False
|
||||
STATICFILES_STORAGE = 'openedx.core.storage.DevelopmentStorage'
|
||||
STORAGES['staticfiles']['BACKEND'] = 'openedx.core.storage.DevelopmentStorage'
|
||||
|
||||
# Revert to the default set of finders as we don't want the production pipeline
|
||||
STATICFILES_FINDERS = [
|
||||
|
||||
Reference in New Issue
Block a user