根据不同的环境使用不同的配置文件

This commit is contained in:
virusdefender
2015-09-14 13:57:03 +08:00
parent 93c03b541b
commit 7febab2f1a
3 changed files with 10 additions and 6 deletions

View File

@@ -43,3 +43,7 @@ TEST_CASE_DIR = '/root/test_case/'
ALLOWED_HOSTS = ['*']
IMAGE_UPLOAD_DIR = '/var/mnt/source/OnlineJudge/static/src/upload_image/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static/release/")]
TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'template/release/')]