Commit d7bab033 by John Eskew

Move monitoring functionality to util and AppConfig.

parent 65433c9c
......@@ -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',
......
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.
"""
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment