fixed channels_redis config and added missing dependency for it
This commit is contained in:
parent
fa4492cd2c
commit
1dcbddbba0
2 changed files with 2 additions and 1 deletions
|
@ -335,7 +335,7 @@ if HAS_REDIS:
|
|||
'default': {
|
||||
'BACKEND': 'channels_redis.core.RedisChannelLayer',
|
||||
'CONFIG': {
|
||||
"hosts": [config.get('redis', 'location')],
|
||||
"hosts": config.get('redis', 'location', env='C3NAV_REDIS').split(','),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue