diff --git a/lms/envs/common.py b/lms/envs/common.py index f0051b8f3967..eb6efe83b7a4 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2593,6 +2593,12 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring ################################# CELERY ###################################### +CELERY_IMPORTS = ( + # Since xblock-poll is not a Django app, and XBlocks don't get auto-imported + # by celery workers, its tasks will not get auto-discovered: + 'poll.tasks', +) + # Message configuration CELERY_TASK_SERIALIZER = 'json'