From 13b4c452fad7502ffb7f1657bbabdc6dd531602e Mon Sep 17 00:00:00 2001 From: Josue Balandrano Coronel Date: Wed, 17 Apr 2019 14:34:45 -0500 Subject: [PATCH] Add capability to override MANUAL_ENROLLMENT_ROLE_CHOICES from lms.env.json --- lms/envs/production.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lms/envs/production.py b/lms/envs/production.py index 7469d5a37c..cee1d80174 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -1117,3 +1117,7 @@ plugin_settings.add_plugins(__name__, plugin_constants.ProjectType.LMS, plugin_c ########################## Derive Any Derived Settings ####################### derive_settings(__name__) + +######################### Overriding custom enrollment roles ############### + +MANUAL_ENROLLMENT_ROLE_CHOICES = ENV_TOKENS.get('MANUAL_ENROLLMENT_ROLE_CHOICES', MANUAL_ENROLLMENT_ROLE_CHOICES)