fix: xblock-poll's celery tasks were not registered (#28019)

This commit is contained in:
Braden MacDonald
2021-06-30 04:10:56 -07:00
committed by GitHub
parent 5e995bd47a
commit e2a867e975

View File

@@ -2593,6 +2593,12 @@ DEBUG_TOOLBAR_PATCH_SETTINGS = False
################################# 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'