10 lines
234 B
Python
10 lines
234 B
Python
from config.env import env
|
|
|
|
CHANNEL_LAYERS = {
|
|
'default': {
|
|
'BACKEND': 'channels_redis.core.RedisChannelLayer',
|
|
'CONFIG': {
|
|
"hosts": [(env.str('REDIS_HOST'), env.str('REDIS_PORT'))],
|
|
},
|
|
},
|
|
} |