new _backend
This commit is contained in:
13
_backend/routing.py
Normal file
13
_backend/routing.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# your_app_name/routing.py
|
||||
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
# HTTP 路由
|
||||
# urlpatterns = [
|
||||
# path('login/', views.UserView, name='userlogin'),
|
||||
# ]
|
||||
|
||||
websocket_urlpatterns = [
|
||||
path('matagent/chat', views.ChatConsumer.as_asgi()), # 替换为实际的路径和消费者类
|
||||
]
|
||||
Reference in New Issue
Block a user