修改判题端配置文件

This commit is contained in:
virusdefender
2015-08-15 17:00:55 +08:00
parent cb7dd2f820
commit 088787443e
4 changed files with 21 additions and 13 deletions

View File

@@ -16,8 +16,9 @@ DATABASES = {
}
}
# 这是web 服务器连接到mongodb 的地址
MONGODB = {
'HOST': '127.0.0.1',
'HOST': '121.42.196.141',
'USERNAME': 'root',
'PASSWORD': 'root',
'PORT': 27017
@@ -26,4 +27,4 @@ MONGODB = {
DEBUG = True
# 同理 这是 web 服务器的上传路径
TEST_CASE_DIR = "/Users/virusdefender/Desktop/test_case/"
TEST_CASE_DIR = os.path.join(BASE_DIR, 'test_case')