会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ihszg
博客园
首页
新随笔
联系
订阅
管理
2020年10月6日
设置django缓存+验证码图片接口
摘要: 1.django 缓存设置 1.1 安装Django缓存模块 pip install django-redis==4.12.1 1.2 syl/settings.py 中配置缓存 # 缓存配置 CACHES = { # django存缓默认位置,redis 0号库 # default: 连接名称 "
阅读全文
posted @ 2020-10-06 21:41 ihszg
阅读(265)
评论(2)
推荐(1)
编辑
公告