Hi, using redis_channels 2.0.4 with Django 2.0 and daphne 2.3.0 I get this error :
Exception inside application: 'RedisChannelLayer' object has no attribute 'groups'
All works fine if I use InMemoryChannelLayer
settings.py :
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": {
"hosts": [("localhost", 6379)],
},
},
}
redis server is up and running fine - tested with redis-cli
and the part that use it :
async_to_sync(self.channel_layer.group_send)(
"lobby",
{
'type': 'join.message',
'message': html,
}
)
Any help welcome...