ft_transcendence/games/routing.py

7 lines
180 B
Python
Raw Permalink Normal View History

2023-12-28 06:02:39 -05:00
from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r'ws/tournaments/(?P<tournament_id>\d+)$', consumers.TournamentWebConsumer.as_asgi())
]