Skip to content

Commit

Permalink
merge(#29173): Backport to Lilac master: xblock-poll's export to CSV …
Browse files Browse the repository at this point in the history
…feature is not working [TNL-8370] [MNG-2273] [BB-4877]

## Description

This is a backport of https://github.com/edx/edx-platform/pull/28019 to the Lilac master branch, as [requested](https://github.com/edx/edx-platform/pull/28019#issuecomment-952413371) by @alfredchavez.

Summary:

> xblock-poll's celery task was broken, then fixed in #23700, then broken again by #25479. This fixes it again.


## Supporting information

See original PR.

## Testing instructions

See original PR.

## Deadline

None

## Other information

.
  • Loading branch information
edx-community-bot authored Nov 1, 2021
2 parents 77cbbe4 + e538df7 commit f69c460
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2576,6 +2576,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'
Expand Down

0 comments on commit f69c460

Please sign in to comment.