diff --git a/cms/envs/devstack.py b/cms/envs/devstack.py index c19db5e9b0..6c2fb95e7e 100644 --- a/cms/envs/devstack.py +++ b/cms/envs/devstack.py @@ -46,6 +46,15 @@ STATICFILES_FINDERS = [ 'django.contrib.staticfiles.finders.AppDirectoriesFinder', ] +############################ PYFS XBLOCKS SERVICE ############################# +# Set configuration for Django pyfilesystem + +DJFS = { + 'type': 'osfs', + 'directory_root': 'cms/static/djpyfs', + 'url_root': '/static/djpyfs', +} + ############################# ADVANCED COMPONENTS ############################# # Make it easier to test advanced components in local dev diff --git a/lms/envs/devstack.py b/lms/envs/devstack.py index 154e000656..17335d6b66 100644 --- a/lms/envs/devstack.py +++ b/lms/envs/devstack.py @@ -49,6 +49,14 @@ ANALYTICS_API_KEY = "" # dashboard to the Analytics Dashboard. ANALYTICS_DASHBOARD_URL = None +############################ PYFS XBLOCKS SERVICE ############################# +# Set configuration for Django pyfilesystem + +DJFS = { + 'type': 'osfs', + 'directory_root': 'lms/static/djpyfs', + 'url_root': '/static/djpyfs', +} ################################ DEBUG TOOLBAR ################################