Developer-private settings files
Developers can have private settings files by creating lms/envs/private.py or cms/envs/private.py. They are imported at the end of dev.py. Note that they won't be imported if you are using one of the other dev*.py variants.
This commit is contained in:
@@ -243,3 +243,11 @@ MITX_FEATURES['ENABLE_PEARSON_LOGIN'] = False
|
||||
|
||||
ANALYTICS_SERVER_URL = "http://127.0.0.1:9000/"
|
||||
ANALYTICS_API_KEY = ""
|
||||
|
||||
|
||||
#####################################################################
|
||||
# Lastly, see if the developer has any local overrides.
|
||||
try:
|
||||
from .private import *
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user