From 7e6d4ad4e2807ee09b9ef1cbc4193c3660d1483a Mon Sep 17 00:00:00 2001 From: Ilya Boltnev Date: Sat, 24 Oct 2020 01:58:57 +0300 Subject: [PATCH] settings fix --- redis_sessions/__init__.py | 2 +- redis_sessions/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/redis_sessions/__init__.py b/redis_sessions/__init__.py index aece342..a68d2bd 100644 --- a/redis_sessions/__init__.py +++ b/redis_sessions/__init__.py @@ -1 +1 @@ -__version__ = '0.6.2' +__version__ = '0.6.3' diff --git a/redis_sessions/settings.py b/redis_sessions/settings.py index cb0578f..c7797d8 100644 --- a/redis_sessions/settings.py +++ b/redis_sessions/settings.py @@ -2,7 +2,7 @@ # SESSION_REDIS - Default SESSION_REDIS = getattr(settings, 'SESSION_REDIS', {}) -SESSION_REDIS_CONNECTION_OBJECT = SESSION_REDIS.get('redis_connection_object', None) +SESSION_REDIS_CONNECTION_OBJECT = getattr(settings, 'SESSION_REDIS_CONNECTION_OBJECT', None) SESSION_REDIS_HOST = SESSION_REDIS.get('host', 'localhost') SESSION_REDIS_PORT = SESSION_REDIS.get('port', 6379) SESSION_REDIS_SOCKET_TIMEOUT = SESSION_REDIS.get('socket_timeout', 0.1)