1 from __future__ import absolute_import, unicode_literals
3 from celery import Celery
5 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'audiobooks.settings')
6 app = Celery('audiobooks')
7 app.config_from_object('django.conf:settings', namespace='CELERY')
9 app.autodiscover_tasks()