Merge branch 'jupyter'
[mygpo.git] / mygpo / celery.py
blob1e9ba704f2ec073c3a8e512111ac333b65db5160
1 import os
3 from django.conf import settings
5 from celery import Celery
7 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mygpo.settings')
9 celery = Celery('mygpo.celery')
10 celery.config_from_object('django.conf:settings', namespace='CELERY')
11 celery.autodiscover_tasks()