admin webpack template

This commit is contained in:
LiYang
2016-07-31 15:55:31 +08:00
parent c8b2546ba2
commit fd9f740e76
169 changed files with 14872 additions and 88396 deletions

View File

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