html-over-websockets-with-d.../app/website/routing.py
Andros Fenollosa 209adf66f7 Add single page
2021-11-13 09:07:55 +01:00

8 lines
158 B
Python

from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r"ws/pages/(?P<room_id>\w+)/$", consumers.WebsiteConsumer),
]