判题暂时可以跑起来了,真要被自己蠢哭了

This commit is contained in:
virusdefender
2015-08-12 19:55:41 +08:00
parent 92ab7e5fb2
commit 66d3cd3bfe
13 changed files with 43 additions and 31 deletions

View File

@@ -7,6 +7,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# 下面是需要自己修改的
LOG_PATH = "LOG/"
# 注意这是web 服务器访问的地址,判题度武器访问的地址不一定一样,因为可能不在一台机器上
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
@@ -24,5 +25,6 @@ DATABASES = {
DEBUG = True
TEST_CASE_DIR = "/var/test_case/"
# 同理 这是 web 服务器的上传路径
TEST_CASE_DIR = "/Users/virusdefender/Desktop/test_case/"