1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-23 20:36:39 +02:00

First play with websockets

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2023-03-22 15:24:15 +01:00
parent 30efff0d9d
commit b9ce4c737c
10 changed files with 171 additions and 3 deletions

7
draw/routing.py Normal file
View File

@ -0,0 +1,7 @@
from django.urls import path
from . import consumers
websocket_urlpatterns = [
path("ws/draw/<int:tournament_id>/", consumers.DrawConsumer.as_asgi()),
]