Moved CLASS_DASHBOARD setting into the FEATURES dict.

This commit is contained in:
David Adams
2014-03-05 15:47:23 -08:00
parent b44780812c
commit dcb169fb37

View File

@@ -233,6 +233,9 @@ FEATURES = {
# Turn on/off Microsites feature
'USE_MICROSITES': False,
# Turn on/off the Metrics tab for the Instructor dashboard
'CLASS_DASHBOARD': False,
}
# Used for A/B testing
@@ -1192,8 +1195,7 @@ VERIFY_STUDENT = {
"DAYS_GOOD_FOR": 365, # How many days is a verficiation good for?
}
### This enables the Metrics tab for the Instructor dashboard ###########
FEATURES['CLASS_DASHBOARD'] = False
######## Metrics tab/Instructor Dashboard #############
if FEATURES.get('CLASS_DASHBOARD'):
INSTALLED_APPS += ('class_dashboard',)