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:
7
draw/routing.py
Normal file
7
draw/routing.py
Normal 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()),
|
||||
]
|
Reference in New Issue
Block a user