No, runserver is for web development, and runworker is for channel (AKA websocket) development.
And in production, you need uWSGI for runserver and daphne for runworker. <[email protected]>于2018年6月25日周一 下午11:21写道: > Thanks for your reply. But I am afraid this is not the problem. The urls > are dispatched correctly. Different pages of my website can be directed > correctly. > The live discussion is just one function on one page. Other parts of this > page are functioning well. > > > On Monday, June 25, 2018 at 10:55:37 AM UTC-4, Mikhailo Keda wrote: >> >> probably you added this path /forum/room1/ to urls.py, you need to add >> this path to routing >> https://channels.readthedocs.io/en/latest/topics/routing.html >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/e649c167-9087-4273-8519-607f507812ed%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/e649c167-9087-4273-8519-607f507812ed%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAMv51WQn-vFgd9xT5AeyC8-XTE9unf%2BrDzi5UwZDT4tdiwOq-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

