Make an AppConfig to register ccxcon signals.

This commit is contained in:
John Eskew
2017-09-21 11:30:07 -04:00
parent 040f5cc9c4
commit 4b95abb715
2 changed files with 15 additions and 1 deletions

View File

@@ -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'

View 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