Unverified Commit 94ec96e2 by John Eskew Committed by GitHub

Merge pull request #16396 from edx/jeskew/more_startup_removal_to_appconfig

Move signal registering to AppConfig's ready from startup.py
parents b57f1447 e2060b60
from django.apps import AppConfig
class CourseModesConfig(AppConfig):
name = 'course_modes'
verbose_name = "Course Modes"
def ready(self):
import course_modes.signals # pylint: disable=unused-import
"""
Setup the signals on startup.
"""
import course_modes.signals # pylint: disable=unused-import
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