Make an AppConfig to register ccxcon signals.
This commit is contained in:
@@ -6,4 +6,5 @@ that is used to interact with the CCX and their master courses.
|
||||
The ccxcon app needs to be placed in `openedx.core.djangoapps`
|
||||
because it will be used both in CMS and LMS.
|
||||
"""
|
||||
import openedx.core.djangoapps.ccxcon.signals
|
||||
|
||||
default_app_config = 'openedx.core.djangoapps.ccxcon.apps.CCXConnectorConfig'
|
||||
|
||||
13
openedx/core/djangoapps/ccxcon/apps.py
Normal file
13
openedx/core/djangoapps/ccxcon/apps.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
Configuration for CCX connector
|
||||
"""
|
||||
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class CCXConnectorConfig(AppConfig):
|
||||
name = 'openedx.core.djangoapps.ccxcon'
|
||||
verbose_name = "CCX Connector"
|
||||
|
||||
def ready(self):
|
||||
import openedx.core.djangoapps.ccxcon.signals
|
||||
Reference in New Issue
Block a user