Enable Django App Plugins in CMS

This commit is contained in:
Nimisha Asthagiri
2018-01-08 21:09:07 -05:00
parent c2fc546db9
commit 24d6c314ef
5 changed files with 24 additions and 11 deletions

View File

@@ -143,6 +143,10 @@ JWT_AUTH.update({
'JWT_AUDIENCE': 'lms-key',
})
#####################################################################
from openedx.core.djangolib.django_plugins import DjangoAppRegistry, ProjectType, SettingsType
DjangoAppRegistry.add_plugin_settings(__name__, ProjectType.CMS, SettingsType.DEVSTACK)
###############################################################################
# See if the developer has any local overrides.
if os.path.isfile(join(dirname(abspath(__file__)), 'private.py')):