martinrusev / django-redis-sessions

Session backend for Django that stores sessions in a Redis database
BSD 3-Clause "New" or "Revised" License
495 stars 106 forks source link

Support session redis sentinel password #73

Closed YuriIlyin26 closed 1 year ago

YuriIlyin26 commented 1 year ago
  1. use variable SESSION_REDIS_SENTINEL_PASSWORD as sentinel password
  2. use sentinel_kwargs if set
  3. support both configurations: Redis server with password and Redis server without password. First the connection is set with the password. If the connection is unsuccessful, then the connection is set without password