update dockerfile and settings

This commit is contained in:
zema1
2017-10-24 21:14:29 +08:00
parent e8841eae82
commit b694000ab9
9 changed files with 19 additions and 137 deletions

View File

@@ -28,6 +28,9 @@ TEST_CASE_DIR = "/tmp"
LOG_PATH = "/tmp/"
AVATAR_URI_PREFIX = "/static/avatar"
AVATAR_UPLOAD_DIR = f"{BASE_DIR}{AVATAR_URI_PREFIX}"
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]