did you add channels_redis ??
On Wednesday, 29 April 2020 16:09:12 UTC+2, Aditya Bohra wrote:
-- On Wednesday, 29 April 2020 16:09:12 UTC+2, Aditya Bohra wrote:
I am trying to start with channels but the demo in python shell is not working properly:https://channels.readthedocs.io/en/latest/ tutorial/part_2.html#enable-a- channel-layer Its is showing some thing like this :(InteractiveConsole)>>> import channels.layers
>>> channel_layer = channels.layers.get_channel_layer()
>>> from asgiref.sync import async_to_sync
>>> async_to_sync(channel_layer.send)('test_channel', {'type': 'hello'})
Segmentation fault (core dumped)please help
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6a9e3ac8-191c-4047-be06-52cb3b8e0ccd%40googlegroups.com.
No comments:
Post a Comment