Refactor Django App Plugins to allow for additional features

This commit is contained in:
Nimisha Asthagiri
2018-01-13 16:26:21 -05:00
parent c24d8c1b28
commit 7286c64e18
22 changed files with 394 additions and 372 deletions

View File

@@ -270,8 +270,8 @@ JWT_AUTH.update({
})
#####################################################################
from openedx.core.djangolib.django_plugins import DjangoAppRegistry, ProjectType, SettingsType
DjangoAppRegistry.add_plugin_settings(__name__, ProjectType.LMS, SettingsType.DEVSTACK)
from openedx.core.djangoapps.plugins import plugin_settings, constants as plugin_constants
plugin_settings.add_plugins(__name__, plugin_constants.ProjectType.LMS, plugin_constants.SettingsType.DEVSTACK)
#####################################################################
# See if the developer has any local overrides.