From 2da6226aceae15ab9dd2ecb52fab2b683a063546 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 20 Jun 2016 13:44:24 +0100 Subject: [PATCH] Add scheduled_tasks to celery_import config --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index 672a3e45a..34b737435 100644 --- a/config.py +++ b/config.py @@ -45,7 +45,7 @@ class Config(object): CELERY_TIMEZONE = 'Europe/London' CELERY_ACCEPT_CONTENT = ['json'] CELERY_TASK_SERIALIZER = 'json' - CELERY_IMPORTS = ('app.celery.tasks',) + CELERY_IMPORTS = ('app.celery.tasks', 'app.celery.scheduled_tasks') CELERYBEAT_SCHEDULE = { 'delete-verify-codes': { 'task': 'delete-verify-codes',