摘要: 一.配置文件settings.py中 二.某个应用的视图文件views.py中 这里既使用cache模块将数据保存到redis中(已经在配置文件中将缓存数据库设置为了redis), 也使用了django_redis模块的get_redis_connection()方法进行保存数据, 个人理解:缓存这 阅读全文
posted @ 2018-06-13 23:44 lowmanisbusy 阅读(1839) 评论(0) 推荐(0)