1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-24 17:40:32 +02:00

Test draw application

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2023-04-09 00:50:47 +02:00
parent 80cfe874f5
commit 9734b51f53
3 changed files with 769 additions and 7 deletions

View File

@ -36,13 +36,6 @@ class DrawConsumer(AsyncJsonWebsocketConsumer):
"""
This consumer manages the websocket of the draw interface.
"""
def __int__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.tournament_id = None
self.tournament = None
self.participations = None
self.registration = None
async def connect(self) -> None:
"""
This function is called when a new websocket is trying to connect to the server.