Move monitoring functionality to util and AppConfig.
This commit is contained in:
@@ -1006,9 +1006,6 @@ INSTALLED_APPS = [
|
||||
# Signals
|
||||
'openedx.core.djangoapps.signals.apps.SignalConfig',
|
||||
|
||||
# Monitoring signals
|
||||
'openedx.core.djangoapps.monitoring',
|
||||
|
||||
# Course action state
|
||||
'course_action_state',
|
||||
|
||||
|
||||
@@ -2199,9 +2199,6 @@ INSTALLED_APPS = [
|
||||
# Country embargo support
|
||||
'openedx.core.djangoapps.embargo',
|
||||
|
||||
# Monitoring functionality
|
||||
'openedx.core.djangoapps.monitoring',
|
||||
|
||||
# Course action state
|
||||
'course_action_state',
|
||||
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
This djangoapp is incorrectly named 'monitoring'.
|
||||
|
||||
The name is related to old functionality that used to be a part of this app.
|
||||
|
||||
TODO: The current contents of this app should be joined with other generic
|
||||
platform utilities and renamed appropriately.
|
||||
@@ -1,5 +0,0 @@
|
||||
"""
|
||||
Registers signal handlers at startup.
|
||||
"""
|
||||
# pylint: disable=unused-import
|
||||
import openedx.core.djangoapps.monitoring.exceptions
|
||||
@@ -7,8 +7,15 @@ from django.apps import AppConfig
|
||||
|
||||
class UtilConfig(AppConfig):
|
||||
"""
|
||||
Let Django know that this is an app with management commands.
|
||||
Configuration class for the openedx.core.djangoapps.util Django application
|
||||
"""
|
||||
label = 'open_edx_util'
|
||||
name = 'openedx.core.djangoapps.util'
|
||||
verbose_name = 'Open edX Utilities'
|
||||
|
||||
def ready(self):
|
||||
"""
|
||||
Registers signal handlers at startup.
|
||||
"""
|
||||
# pylint: disable=unused-import
|
||||
import openedx.core.djangoapps.util.signals
|
||||
|
||||
Reference in New Issue
Block a user