newmediamonitoring1/polls/routing.py

7 lines
158 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 = [
2020-09-26 01:47:24 +00:00
re_path(r'ws/chat/(?P<room_name>[\w-]+)/$', consumers.ChatConsumer),
2020-09-03 04:03:19 +00:00
]