1 from __future__
import absolute_import
3 from django
.conf
import settings
5 from celery
import Celery
11 celery
= Celery('mygpo.celery',
12 broker
=settings
.BROKER_URL
,
13 backend
=settings
.CELERY_RESULT_BACKEND
,
19 'mygpo.administration.tasks',
20 'mygpo.directory.tasks',
24 **settings
.CELERY_CONF
27 if __name__
== '__main__':