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
17 lines
366 B
Python
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
|