diff --git a/project/celery.py b/project/celery.py index 8cbb640c..bbc97ed5 100644 --- a/project/celery.py +++ b/project/celery.py @@ -10,7 +10,7 @@ app = Celery('project') # the configuration object to child processes. # - namespace='CELERY' means all celery-related configuration keys # should have a `CELERY_` prefix. -app.config_from_object('project.celery_settings') +app.config_from_object('project.settings', namespace='CELERY') # Load task modules from all registered Django app configs. app.autodiscover_tasks()