问题
hi guys i really need your help here !
i want create something that send a number from 0 to 100 in python django and all of users that connected to websocket recieves them for example user one opens the page and he gets 0 , 1 , 2 .. and then user two connects to websocket but he dont get them from 0 and he see what user one see's! for example if user one is on number 10 user two start from number 10 as exact user one see's
and after both of users or if 10000 user connected finished the loop loop start's again and all will recieve what other see's !
with no delay with no new number what should i do in django ?
来源:https://stackoverflow.com/questions/59681947/django-websocket-return-number-in-loop-as-same-as-other-recieves