* Import instructor tasks explicitly on workers. Importing them via app config leads to an dependency chain nightmare as lots of other apps get pulled into the startup and are not configured in situations like testing the common and lib unit tests. This should register tasks to the celery workers without messing with the startup dependency chains of the LMS, CMS and test setup.
16 lines
272 B
Python
16 lines
272 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):
|
|
pass
|