Merge pull request #3789 from FinnStutzenstein/redis-session

Use newer version of django-redis-sessions, new settings format
This commit is contained in:
Emanuel Schütze 2018-08-15 11:45:52 +02:00 committed by GitHub
commit 32e20aa670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -79,6 +79,15 @@ DATABASES = {
use_redis = False
if use_redis:
# Redis configuration for django-redis-session. Keep this synchronized to
# the caching settings
SESSION_REDIS = {
'host': '127.0.0.1',
'post': 6379,
'db': 0,
}
# Django Channels
# Unless you have only a small assembly uncomment the following lines to

View File

@ -4,6 +4,6 @@
# Requirements for Redis and PostgreSQL support
asgi-redis>=1.3,<1.5
django-redis>=4.7.0,<4.10
django-redis-sessions>=0.5.6,<0.7
django-redis-sessions>=0.6.1,<0.7
psycopg2-binary>=2.7,<2.8
txredisapi==1.4.4