首先,redis服务端配置取消注释掉:requirepass: xxx, 设置密码为自己的密码;在django配置中配置:CACHES = { "default": { "BACKEND": "django_redis.cache.
確定! 回上一頁