diff --git a/lms/envs/common.py b/lms/envs/common.py index 9726759636..2471b8fcf7 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2867,7 +2867,6 @@ INSTALLED_APPS = [ # Discussion forums 'openedx.core.djangoapps.django_comment_common', - 'openedx.core.djangoapps.discussions', # Notes 'lms.djangoapps.edxnotes', diff --git a/openedx/core/djangoapps/discussions/apps.py b/openedx/core/djangoapps/discussions/apps.py index 51b2803668..7ecc1e0c1a 100644 --- a/openedx/core/djangoapps/discussions/apps.py +++ b/openedx/core/djangoapps/discussions/apps.py @@ -2,6 +2,8 @@ Configure the django app """ from django.apps import AppConfig +from edx_django_utils.plugins import PluginSettings +from edx_django_utils.plugins import PluginURLs class DiscussionsConfig(AppConfig): @@ -9,3 +11,9 @@ class DiscussionsConfig(AppConfig): Configure the discussions django app """ name = 'openedx.core.djangoapps.discussions' + plugin_app = { + PluginURLs.CONFIG: { + }, + PluginSettings.CONFIG: { + }, + } diff --git a/setup.py b/setup.py index 30c0efc8ad..5884b26330 100644 --- a/setup.py +++ b/setup.py @@ -83,6 +83,7 @@ setup( "credentials = openedx.core.djangoapps.credentials.apps:CredentialsConfig", "content_libraries = openedx.core.djangoapps.content_libraries.apps:ContentLibrariesConfig", "discussion = lms.djangoapps.discussion.apps:DiscussionConfig", + "discussions = openedx.core.djangoapps.discussions.apps:DiscussionsConfig", "grades = lms.djangoapps.grades.apps:GradesConfig", "plugins = openedx.core.djangoapps.plugins.apps:PluginsConfig", "theming = openedx.core.djangoapps.theming.apps:ThemingConfig",