Merge pull request #25900 from edx/bseverino/timed-exams
[MST-575] Enable timed exams by default
This commit is contained in:
@@ -51,6 +51,7 @@ DEFAULT_COURSE_VISIBILITY_IN_CATALOG = getattr(
|
||||
DEFAULT_MOBILE_AVAILABLE = getattr(settings, 'DEFAULT_MOBILE_AVAILABLE', False)
|
||||
# Note: updating assets does not have settings defined, so using `getattr`.
|
||||
EXAM_SETTINGS_HTML_VIEW_ENABLED = getattr(settings, 'FEATURES', {}).get('ENABLE_EXAM_SETTINGS_HTML_VIEW', False)
|
||||
SPECIAL_EXAMS_ENABLED = getattr(settings, 'FEATURES', {}).get('ENABLE_SPECIAL_EXAMS', False)
|
||||
|
||||
COURSE_VISIBILITY_PRIVATE = 'private'
|
||||
COURSE_VISIBILITY_PUBLIC_OUTLINE = 'public_outline'
|
||||
@@ -918,7 +919,7 @@ class CourseFields(object):
|
||||
"Enter true or false. If this value is true, timed exams are enabled in your course. "
|
||||
"Regardless of this setting, timed exams are enabled if Enable Proctored Exams is set to true."
|
||||
),
|
||||
default=False,
|
||||
default=SPECIAL_EXAMS_ENABLED,
|
||||
scope=Scope.settings,
|
||||
deprecated=EXAM_SETTINGS_HTML_VIEW_ENABLED
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user