game: init: consumer

This commit is contained in:
2023-12-28 12:02:39 +01:00
parent f11af8336a
commit 231622a2c2
5 changed files with 59 additions and 3 deletions

6
games/routing.py Normal file
View File

@ -0,0 +1,6 @@
from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r'ws/tournaments/(?P<tournament_id>\d+)$', consumers.TournamentWebConsumer.as_asgi())
]