drawshare/drawshare/routing.py

8 lines
183 B
Python

# drawshare/routing.py
from django.conf.urls import url
from . import consumers
websocket_urlpatterns = [
url(r'^ws/drawshare/(?P<room_name>[^/]+)/$', consumers.DrawConsumer),
]