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

Commit

Permalink
Use new settings format for django-redis-sessions
Browse files Browse the repository at this point in the history
required for django-redis-sessions 0.6+.
  • Loading branch information
emanuelschuetze committed Aug 15, 2018
1 parent 645f7e4 commit 1d81cde
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions roles/openslides-add-instance/templates/settings.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ CACHES = {
}

SESSION_ENGINE = 'redis_sessions.session'
SESSION_REDIS_HOST = '172.16.28.1'
SESSION_REDIS_PORT = 6379
SESSION_REDIS_DB = 0
SESSION_REDIS = {
'host': '172.16.28.1',
'port': '6379',
'db': 0,
}

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

0 comments on commit 1d81cde

Please sign in to comment.