Re: Channels - get online users

2017-03-27 Thread Shahab Emami
don't you have any sample project? -- 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 t

Re: Channels - get online users

2017-03-25 Thread Andrew Godwin
Well, your problem is that you have to first define "online" and "users". If you want "the number of open WebSockets connected to the system", then you can do it using logic tied to the connect and disconnect methods, with extra logic for expiry in case you miss a disconnect (otherwise the number