| 12345678910111213141516 | from __future__ import absolute_importfrom celery import Celerycelery = Celery('proj.celery',                broker='amqp://',                backend='amqp://',                include=['proj.tasks'])# Optional configuration, see the application user guide.celery.conf.update(    CELERY_TASK_RESULT_EXPIRES=3600,)if __name__ == '__main__':    celery.start()
 |