Files
edx-platform/lms/djangoapps/instructor_task/apps.py
Kyle McCormick 762b4fdf7f Use AppConfig in instuctor_task app to ensure tasks are discovered
This fixes an issue where instructor_task Celery tasks were not being
auto-discovered, thus leaving them unregistered and unable to be
completed by our Celery workers.

TNL-7652
2020-10-26 15:23:22 -04:00

17 lines
366 B
Python

"""
Instructor Task Application Configuration
"""
from django.apps import AppConfig
class InstructorTaskConfig(AppConfig):
"""
Application Configuration for Instructor Task
"""
name = u'lms.djangoapps.instructor_task'
def ready(self):
# noinspection PyUnresolvedReferences
from . import tasks # pylint: disable=unused-import