pmessage/frontend/routing.py

8 lines
166 B
Python
Raw Normal View History

2020-11-22 10:10:32 +00:00
from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r'ws/room/(?P<room_name>\w+)/$', consumers.ChatConsumer.as_asgi()),
]