Forgotten req.
[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()