support avatar upload;

use middleware to operate session data.
This commit is contained in:
zema1
2017-09-19 19:10:50 +08:00
parent 1ee0596a3a
commit 034ad59f2e
13 changed files with 72 additions and 65 deletions

View File

@@ -24,4 +24,8 @@ ALLOWED_HOSTS = ["*"]
TEST_CASE_DIR = "/tmp"
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
LOG_PATH = "log/"