1 from __future__ import absolute_import
6 ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
8 os.path.join(ROOT, 'lib/librarian'),
11 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'wolnelektury.settings')
13 from celery import Celery
14 from django.conf import settings
16 app = Celery('wolnelektury')
18 app.config_from_object('django.conf:settings')
19 app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)