会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
djl_djl
博客园
首页
新随笔
联系
订阅
管理
2020年4月29日
Django中,使用redis作为缓存
摘要: 已有Django项目,在其中设置以redis为缓存。 1、 安装django-redis: pip install django-redis 2、 在settings里面配置cache设置: CACHES = { "default":{ "BACKEND":"django_redis.cache.R
阅读全文
posted @ 2020-04-29 16:40 djl_djl
阅读(424)
评论(0)
推荐(0)
公告