fix redis auto install

fix redis password auto-gen and append to local_settings.py
This commit is contained in:
Leven
2023-01-09 23:05:16 +08:00
parent d10601b9ab
commit 51a600c8a4
2 changed files with 19 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ WEWORK_AGENT_ID = r'修改为自己的'
WEWORK_AGNET_SECRET = r'修改为自己的'
# Redis配置
# redis的连接地址redis://<Ip/Host>:<Port>/<数据库>
# redis的连接地址redis://<Ip/Host>:<Port>
REDIS_LOCATION = r'redis://127.0.0.1:6379'
REDIS_PASSWORD = r'修改为自己的'