Add scheduled_tasks to celery_import config

This commit is contained in:
Rebecca Law
2016-06-20 13:44:24 +01:00
parent 316b5d0e64
commit 2da6226ace

View File

@@ -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',