8da78a4c6d495bf0eadcc829262bb8eb206196e2
[audio.git] / src / audiobooks / celery.py
1 from __future__ import absolute_import, unicode_literals
2 import os
3 from celery import Celery
4
5 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'audiobooks.settings')
6 app = Celery('audiobooks')
7 app.config_from_object('django.conf:settings', namespace='CELERY')
8
9 app.autodiscover_tasks()