redis中的session配置信息

SESSION_ENGINE = ‘redis_sessions.session’
SESSION_REDIS = {
‘host’: ‘localhost’,
‘port’: 6379,
‘db’: 2,
‘password’: ‘123’,
‘prefix’: ‘News_hodge’,
‘socket_timeout’: 10
}

发布了35 篇原创文章 · 获赞 0 · 访问量 418

猜你喜欢

转载自blog.csdn.net/mengzh620/article/details/103116443