In total, there are 10 users online ::
(Based on users active over the past 5 minutes)
____________________________________This is just a nice random number!
..
7 lines (5 loc) • 145.0 B
1 2 3 4 5 6 7
from django.urls import re_path from . import consumers websocket_urlpatterns = [ re_path(r'ws/chat', consumers.ChatConsumer.as_asgi()), ]