chat v3
This commit is contained in:
SDE
2023-08-13 13:25:21 +03:00
parent 0a8151f8fa
commit a5362bd2ad
11 changed files with 143 additions and 92 deletions

View File

@@ -1,7 +1,8 @@
from django.urls import re_path
from .websocket_views import *
websocket_urlpatterns = [
re_path(r'ws/socket-server/', ChatConsumer.as_asgi())
re_path(r'ws/socket-server/', ChatConsumer.as_asgi()),
# re_path(r'ws/chat/(?P<room_name>\w+)/$', consumers.ChatConsumer),
]