修复部分代码风格的问题

This commit is contained in:
virusdefender
2016-04-30 19:27:20 +08:00
parent 1a5dadbbd5
commit 66d1aa69f0
4 changed files with 7 additions and 15 deletions

View File

@@ -36,13 +36,6 @@ REDIS_QUEUE = {
"db": 2
}
# for celery
BROKER_URL = 'redis://%s:%s/%s' % (REDIS_QUEUE["host"], str(REDIS_QUEUE["port"]), str(REDIS_QUEUE["db"]))
CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json"
DEBUG = False
ALLOWED_HOSTS = ['*']