Re: Printing to console from async method inside django channels

2018-03-09 Thread Chris Barry
Thanks very much, double posting the solution here just in case it helps anyone else: Ah, that didn't do it, so I did a full upgrade of channels, something in this set of upgrades sorted it. pip install channels -U Installing collected packages: asgiref, autobahn, daphne, Django, setuptools

Re: Printing to console from async method inside django channels

2018-03-09 Thread Andrew Godwin
Hi Chris, Since you also posted this to GitHub ( https://github.com/django/channels/issues/967), I will answer there. Andrew On Thu, Mar 8, 2018 at 8:17 PM, Chris Barry wrote: > I'm trying to print inside these methods in from this example in django > channels: > > https://github.com/andrewgod

Printing to console from async method inside django channels

2018-03-08 Thread Chris Barry
I'm trying to print inside these methods in from this example in django channels: https://github.com/andrewgodwin/channels-examples/blob/master/multichat/chat/consumers.py But nothing is coming through to the console. I haven't worked with python Async before, so I'm not sure if I'm doing some