完善提交页面、提交列表和对应的后台逻辑

This commit is contained in:
virusdefender
2015-08-14 10:23:06 +08:00
parent 11a4c04443
commit 59ee24de45
16 changed files with 202 additions and 239 deletions

View File

@@ -13,18 +13,17 @@ DATABASES = {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'CONN_MAX_AGE': 0.3,
},
'mongodb': {
'HOST': '127.0.0.1',
'USERNAME': 'root',
'PASSWORD': 'root',
'PORT': 27017
}
}
mongodb_setting = {
'HOST': '127.0.0.1',
'USERNAME': 'root',
'PASSWORD': 'root',
'PORT': 27017
}
DEBUG = True
# 同理 这是 web 服务器的上传路径
TEST_CASE_DIR = "/Users/virusdefender/Desktop/test_case/"