Commit 34b8e385 authored by lixiaofang's avatar lixiaofang

add

parent dd2c0104
...@@ -54,6 +54,10 @@ BROKER_URL = "redis://127.0.0.1:6379/8" ...@@ -54,6 +54,10 @@ BROKER_URL = "redis://127.0.0.1:6379/8"
CELERY_BROKER_URL = "redis://127.0.0.1:6379/8" CELERY_BROKER_URL = "redis://127.0.0.1:6379/8"
CELERY_TIMEZONE = 'Asia/Shanghai' CELERY_TIMEZONE = 'Asia/Shanghai'
CELERY_ROUTES = ['physical.celery_task_router.CeleryTaskRouter'] CELERY_ROUTES = ['physical.celery_task_router.CeleryTaskRouter']
CELERY_IMPORTS = ("tasks",)
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
INSTALLED_APPS = ( INSTALLED_APPS = (
'django.contrib.admin', 'django.contrib.admin',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment