CACHES = {
"default": {
"BACKEND": "django_redis.cache.RedisCache",
"LOCATION": "redis://127.0.0.1:6379/1",
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
}
}
}
cache 简单配置
猜你喜欢
转载自www.cnblogs.com/BensonChang/p/9105405.html
今日推荐
周排行