use unicode strings for Flattr thing description
[mygpo.git] / mygpo / cel.py
blobf2e4ff15aed642ff2c2155c2268b92c00376fdee
1 from __future__ import absolute_import
3 from django.conf import settings
5 from celery import Celery
7 import sys
8 import os
11 celery = Celery('mygpo.celery',
12 broker=settings.BROKER_URL,
13 backend=settings.BACKEND_URL,
14 include=[
15 'mygpo.core.tasks',
16 'mygpo.data.tasks',
17 'mygpo.admin.tasks',
18 'mygpo.directory.tasks',
21 celery.conf.update(
22 **settings.CELERY_CONF
25 if __name__ == '__main__':
26 celery.start()