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