Add setting for pyfs xblock service
This commit is contained in:
@@ -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 = ""
|
|||||||
# 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 ################################
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user