Commit ac66b4a8 by swdanielli Committed by swdanielli

Add setting for pyfs xblock service

parent 45d4d172
...@@ -46,6 +46,15 @@ STATICFILES_FINDERS = [ ...@@ -46,6 +46,15 @@ STATICFILES_FINDERS = [
'django.contrib.staticfiles.finders.AppDirectoriesFinder', '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 ############################# ############################# ADVANCED COMPONENTS #############################
# Make it easier to test advanced components in local dev # Make it easier to test advanced components in local dev
......
...@@ -49,6 +49,14 @@ ANALYTICS_API_KEY = "" ...@@ -49,6 +49,14 @@ ANALYTICS_API_KEY = ""
# dashboard to the Analytics Dashboard. # dashboard to the Analytics Dashboard.
ANALYTICS_DASHBOARD_URL = None 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 ################################ ################################ DEBUG TOOLBAR ################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment