martinrusev / django-redis-sessions

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

Moved Redis connection to the class & horizontal partitioning #43

Closed igor-pavlenko closed 7 years ago

igor-pavlenko commented 7 years ago

1) Moved Redis connection to class (now you can redefine it and implement custom logic of redis connection. For example sharding based on session key). 2) Disabled test_with_unix_url_config it doesnt work. 3) Added Redis server selection based on session key (if use REDIS_POOL). 4) Tests for redis connection reuse & redis server selection. 5) Added info to README.md