Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
import os
from celery import Celery
CELERY_BROKER_URL = os.environ['CELERY_BROKER_URL']
app = Celery(__name__)
app.conf.update({
'broker_url': os.environ['CELERY_BROKER_URL'],
'imports': (
'tasks',
),
'task_routes': ('task_router.TaskRouter'),
'task_serializer': 'json',
'result_serializer': 'json',
'accept_content': ['json']})