feat: atlas pull plugins translation

This commit is contained in:
Omar Al-Ithawi
2023-12-13 22:45:28 +03:00
parent 5c58eb47bd
commit 867eeff993
14 changed files with 308 additions and 36 deletions

View File

@@ -9,7 +9,8 @@ from django.apps import AppConfig
from django.conf import settings
from edx_django_utils.plugins import connect_plugin_receivers
from openedx.core.djangoapps.plugins.constants import ProjectType
from openedx.core.djangoapps.plugins.constants import ProjectType, SettingsType
from edx_django_utils.plugins import PluginSettings
class PluginsConfig(AppConfig):
@@ -19,7 +20,16 @@ class PluginsConfig(AppConfig):
name = 'openedx.core.djangoapps.plugins'
plugin_app = {}
plugin_app = {
PluginSettings.CONFIG: {
ProjectType.LMS: {
SettingsType.PRODUCTION: {PluginSettings.RELATIVE_PATH: 'settings.production'},
},
ProjectType.CMS: {
SettingsType.PRODUCTION: {PluginSettings.RELATIVE_PATH: 'settings.production'},
},
}
}
def ready(self):
"""