添加缓存用redis的配置
This commit is contained in:
@@ -25,6 +25,12 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
REDIS_CACHE = {
|
||||
"host": "121.42.32.129",
|
||||
"port": 6379,
|
||||
"db": 1
|
||||
}
|
||||
|
||||
DEBUG = True
|
||||
|
||||
# 同理 这是 web 服务器的上传路径
|
||||
|
||||
Reference in New Issue
Block a user