# Safe Queue Celery App Settings from __future__ import absolute_import, unicode_literals from celery import Celery app = Celery('some_project', broker='amqp://', backend='amqp://', include=['some_project.tasks']) # Optional configuration, see the application user guide. app.conf.update( result_expires=3600, ) app.conf.update( enable_utc=True, timezone='Europe/Kiev', ) if __name__ == '__main__': app.start()