Merge pull request #7699 from mitocw/feature/cg/ccx_settings
Add CCX/IDDE configuration to yaml_config.py
This commit is contained in:
@@ -303,3 +303,17 @@ BROKER_URL = "{0}://{1}:{2}@{3}/{4}".format(CELERY_BROKER_TRANSPORT,
|
||||
|
||||
# Grades download
|
||||
GRADES_DOWNLOAD_ROUTING_KEY = HIGH_MEM_QUEUE
|
||||
|
||||
##### Custom Courses for EdX #####
|
||||
if FEATURES.get('CUSTOM_COURSES_EDX'):
|
||||
INSTALLED_APPS += ('ccx',)
|
||||
MIDDLEWARE_CLASSES += ('ccx.overrides.CcxMiddleware',)
|
||||
FIELD_OVERRIDE_PROVIDERS += (
|
||||
'ccx.overrides.CustomCoursesForEdxOverrideProvider',
|
||||
)
|
||||
|
||||
##### Individual Due Date Extensions #####
|
||||
if FEATURES.get('INDIVIDUAL_DUE_DATES'):
|
||||
FIELD_OVERRIDE_PROVIDERS += (
|
||||
'courseware.student_field_overrides.IndividualStudentOverrideProvider',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user