uchill/backend/apps/board/routing.py

10 lines
212 B
Python

"""
WebSocket routing для доски
"""
from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r'ws/board/(?P<board_id>[^/]+)/$', consumers.BoardConsumer.as_asgi()),
]