修改判题的目录结构

This commit is contained in:
virusdefender
2015-08-15 14:50:22 +08:00
parent 025335b40a
commit cb7dd2f820
17 changed files with 66 additions and 39 deletions

View File

@@ -0,0 +1,10 @@
# coding=utf-8
from __future__ import absolute_import
from celery import Celery
from .settings import redis_config
app = Celery("judge", broker="redis://" +
redis_config["host"] + ":" +
str(redis_config["port"]) +
"/" + str(redis_config["db"]),
include=["judge.judger_controller.tasks"])