|
44 | 44 |
|
45 | 45 | from corsheaders.defaults import default_headers as corsheaders_default_headers |
46 | 46 | from django.utils.translation import gettext_lazy as _ |
| 47 | +from edx_django_utils.plugins import add_plugins, get_plugin_apps |
47 | 48 | from enterprise.constants import ( |
48 | 49 | DEFAULT_ENTERPRISE_ENROLLMENT_INTENTIONS_ROLE, |
49 | 50 | ENTERPRISE_ADMIN_ROLE, |
|
57 | 58 | ENTERPRISE_SSO_ORCHESTRATOR_OPERATOR_ROLE, |
58 | 59 | PROVISIONING_ENTERPRISE_CUSTOMER_ADMIN_ROLE, |
59 | 60 | PROVISIONING_PENDING_ENTERPRISE_CUSTOMER_ADMIN_ROLE, |
60 | | - SYSTEM_ENTERPRISE_PROVISIONING_ADMIN_ROLE |
| 61 | + SYSTEM_ENTERPRISE_PROVISIONING_ADMIN_ROLE, |
61 | 62 | ) |
62 | 63 | from openedx_content.settings_api import openedx_content_backcompat_apps_to_install |
63 | 64 | from path import Path as path |
64 | 65 |
|
| 66 | +from openedx.core.djangoapps.plugins.constants import ProjectType, SettingsType |
65 | 67 | from openedx.core.lib.derived import Derived |
66 | 68 | from openedx.core.lib.features_setting_proxy import FeaturesProxy |
67 | 69 | from openedx.envs.common import * # pylint: disable=wildcard-import |
|
2953 | 2955 |
|
2954 | 2956 | ############## Plugin Django Apps ######################### |
2955 | 2957 |
|
2956 | | -from edx_django_utils.plugins import ( # pylint: disable=wrong-import-position,wrong-import-order |
2957 | | - add_plugins, |
2958 | | - get_plugin_apps |
2959 | | -) |
2960 | | - |
2961 | | -from openedx.core.djangoapps.plugins.constants import ProjectType, SettingsType # pylint: disable=wrong-import-position |
2962 | | - |
2963 | 2958 | INSTALLED_APPS.extend(get_plugin_apps(ProjectType.LMS)) |
2964 | 2959 | add_plugins(__name__, ProjectType.LMS, SettingsType.COMMON) |
2965 | 2960 |
|
|
0 commit comments