Use ORA2 django storage on openstack and devstack.

Default ORA2 storage settings use AWS, so no change required to aws envs.
This commit is contained in:
Jillian Vogel
2017-07-01 14:04:22 +09:30
committed by Eric Fischer
parent cdd0e945bd
commit 0fcdcb02bb
4 changed files with 11 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ from openedx.core.djangoapps.self_paced.models import SelfPacedConfiguration
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
from openedx.features.enterprise_support.api import enterprise_enabled
# Uncomment the next two lines to enable the admin:
if settings.DEBUG or settings.FEATURES.get('ENABLE_DJANGO_ADMIN_SITE'):
admin.autodiscover()
@@ -146,6 +147,11 @@ js_info_dict = {
'packages': ('openassessment',),
}
urlpatterns += (
url(r'^openassessment/fileupload/', include('openassessment.fileupload.urls')),
)
# sysadmin dashboard, to see what courses are loaded, to delete & load courses
if settings.FEATURES["ENABLE_SYSADMIN_DASHBOARD"]:
urlpatterns += (