From 5a149f0fe314ae433b3a32011f319307dc44175a Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Tue, 5 Jan 2021 13:17:42 -0500 Subject: [PATCH] Enable timed/special exams and pre-reqs in devstack. These are common and useful enough features that it makes sense to enable it for developers by default. --- cms/envs/devstack.py | 4 ++++ lms/envs/devstack.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/cms/envs/devstack.py b/cms/envs/devstack.py index e1080fd924..7969d335b7 100644 --- a/cms/envs/devstack.py +++ b/cms/envs/devstack.py @@ -236,3 +236,7 @@ CORS_ORIGIN_ALLOW_ALL = True CORS_ALLOW_HEADERS = corsheaders_default_headers + ( 'use-jwt-cookie', ) + +################### Special Exams (Proctoring) and Prereqs ################### +FEATURES['ENABLE_SPECIAL_EXAMS'] = True +FEATURES['ENABLE_PREREQUISITE_COURSES'] = True diff --git a/lms/envs/devstack.py b/lms/envs/devstack.py index 3a0f04fb7d..a0f4907cd1 100644 --- a/lms/envs/devstack.py +++ b/lms/envs/devstack.py @@ -427,3 +427,7 @@ if os.path.isfile(join(dirname(abspath(__file__)), 'private.py')): # Uncomment the lines below if you'd like to see SQL statements in your devstack LMS log. # LOGGING['handlers']['console']['level'] = 'DEBUG' # LOGGING['loggers']['django.db.backends'] = {'handlers': ['console'], 'level': 'DEBUG', 'propagate': False} + +################### Special Exams (Proctoring) and Prereqs ################### +FEATURES['ENABLE_SPECIAL_EXAMS'] = True +FEATURES['ENABLE_PREREQUISITE_COURSES'] = True