Commit e2060b60 by John Eskew

Move signal registering to AppConfig's ready from startup.py

parent dbad9fbc
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