diff --git a/lms/envs/common.py b/lms/envs/common.py index 77c4e63078bc..87ea3cb9f22b 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2280,6 +2280,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', +) + # Celery beat configuration CELERYBEAT_SCHEDULER = 'celery.beat:PersistentScheduler'