7 lines
180 B
Python
7 lines
180 B
Python
|
from django.urls import re_path
|
||
|
from . import consumers
|
||
|
|
||
|
websocket_urlpatterns = [
|
||
|
re_path(r'ws/tournaments/(?P<tournament_id>\d+)$', consumers.TournamentWebConsumer.as_asgi())
|
||
|
]
|