This commit is contained in:
2025-07-15 19:54:59 +08:00
parent 31cacb776f
commit 8701c60a17
11 changed files with 43 additions and 21 deletions

6
chat/url.py Normal file
View File

@@ -0,0 +1,6 @@
from django.urls import path
from .consumers import ChatConsumer
websocket_urlpatterns = [
path("ws/chat/", ChatConsumer.as_asgi()),
]