diff --git a/cms/envs/common.py b/cms/envs/common.py index b2b7dcda2a..5fa2b88f8c 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -1357,6 +1357,8 @@ INSTALLED_APPS = [ 'openedx.features.discounts', 'experiments', + # so sample_task is available to celery workers + 'openedx.core.djangoapps.heartbeat', ] diff --git a/lms/envs/common.py b/lms/envs/common.py index fd14163cf2..696f8f2cfe 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2501,7 +2501,10 @@ INSTALLED_APPS = [ # edx-drf-extensions 'csrf.apps.CsrfAppConfig', # Enables frontend apps to retrieve CSRF tokens. - 'xss_utils' + 'xss_utils', + + # so sample_task is available to celery workers + 'openedx.core.djangoapps.heartbeat', ] ######################### CSRF #########################################