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...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/80acca70-74a3-4615-bae1-d80bb4bc93ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to