Add online/disconnect color on Search, not finish

This commit is contained in:
2024-01-11 17:34:00 +01:00
parent 56d352fead
commit 4c114a34df
6 changed files with 230 additions and 7 deletions

View File

@ -2,5 +2,6 @@ from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r'ws/chat/(?P<chat_id>\d+)$', consumers.ChatConsumer.as_asgi())
re_path(r'ws/chat/(?P<chat_id>\d+)$', consumers.ChatConsumer.as_asgi()),
re_path(r'ws/chat/notice$', consumers.ChatNoticeConsumer.as_asgi()),
]