修改判题数据库

This commit is contained in:
virusdefender
2015-08-17 12:48:10 +08:00
parent 3f76df3079
commit 537da5d795
18 changed files with 217 additions and 113 deletions

View File

@@ -4,6 +4,4 @@ from celery import Celery
from .settings import redis_config
app = Celery("judge", broker='redis://%s:%s/%s' % (redis_config["host"], redis_config["port"], redis_config["db"]),
include=["judge.judger_controller.tasks"])
Celery().conf.update(CELERY_ACCEPT_CONTENT = ['json'])
include=["judge.judger_controller.tasks"])