newmediamonitoring1/polls/routing.py

7 lines
155 B
Python
Raw Normal View History

2020-09-03 04:03:19 +00:00
from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r'ws/chat/(?P<room_name>\w+)/$', consumers.ChatConsumer),
]