让redis集成到django的库--django-redis

安装 pip install django-redis 配置 作为 cache backend 使用配置 为了使用 django-redis , 你应该将你的 django cache setting 改成这样: CACHES = { "default": { "BACKEND": "django_
posted @ 2024-05-20 17:35  厚礼蝎  阅读(12)  评论(0编辑  收藏  举报