Skip to content

Instantly share code, notes, and snippets.

@tonywangcn
Created February 24, 2017 16:55
Show Gist options
  • Save tonywangcn/16a11dcd696201be6e7cbf14a8743b76 to your computer and use it in GitHub Desktop.
Save tonywangcn/16a11dcd696201be6e7cbf14a8743b76 to your computer and use it in GitHub Desktop.
from __future__ import absolute_import
from celery import Celery
app = Celery('test_celery',broker='amqp://admin:[email protected]:5672',backend='rpc://',include=['test_celery.tasks'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment