This commit is contained in:
virusdefender 2016-06-04 11:40:48 +08:00
parent e8fe2a7279
commit 24ab37365d
No known key found for this signature in database
GPG Key ID: 1686FB5677979E61

View File

@ -42,7 +42,7 @@ ALLOWED_HOSTS = ['*']
# 在 debug 关闭的情况下,静态文件不是有 django runserver 来处理的,应该由 nginx 返回
# 在 debug 开启的情况下django 会在下面两个文件夹中寻找对应的静态文件。
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static/release/"), os.path.join(BASE_DIR, "static/release/")]
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static/release/")]
# 模板文件夹
OJ_TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'template/release/')]