from celery import Celery app = Celery('righttree') app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks()