Skip to content
This repository was archived by the owner on Jan 4, 2020. It is now read-only.

Commit 6fdff49

Browse files
Merge pull request #43 from emanuelschuetze/redis-sessions
Use new settings format for django-redis-sessions
2 parents 645f7e4 + 1d81cde commit 6fdff49

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

roles/openslides-add-instance/templates/settings.py.j2

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ CACHES = {
3232
}
3333

3434
SESSION_ENGINE = 'redis_sessions.session'
35-
SESSION_REDIS_HOST = '172.16.28.1'
36-
SESSION_REDIS_PORT = 6379
37-
SESSION_REDIS_DB = 0
35+
SESSION_REDIS = {
36+
'host': '172.16.28.1',
37+
'port': '6379',
38+
'db': 0,
39+
}
3840

3941
# The restricted data cache caches the data individual for each user.
4042
# This requires a lot of memory if there are a lot of active users.

0 commit comments

Comments
 (0)