修改判题的目录结构;增加celery 配置

This commit is contained in:
virusdefender
2015-08-10 16:59:43 +08:00
parent e55997065f
commit d37bbb3eab
13 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# coding=utf-8
from __future__ import absolute_import
from celery import Celery
app = Celery("judge", broker="redis://localhost:6379/0", include=["judge.controller.tasks"])