html-over-websockets-with-d.../app/website/routing.py

7 lines
157 B
Python
Raw Normal View History

2021-11-12 18:59:01 +01:00
from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r'ws/pages/(?P<room_id>\w+)/$', consumers.WebsiteConsumer),
]