Update the final ranking page after the draw export
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
a62e906b0e
commit
bf5c673739
|
@ -5,6 +5,7 @@ from collections import OrderedDict
|
|||
import json
|
||||
from random import randint, shuffle
|
||||
|
||||
from asgiref.sync import sync_to_async
|
||||
from channels.generic.websocket import AsyncJsonWebsocketConsumer
|
||||
from django.conf import settings
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
|
@ -989,6 +990,8 @@ class DrawConsumer(AsyncJsonWebsocketConsumer):
|
|||
if await pool.is_exportable():
|
||||
await pool.export()
|
||||
|
||||
await sync_to_async(self.tournament.update_ranking_spreadsheet)()
|
||||
|
||||
@ensure_orga
|
||||
async def continue_final(self, **kwargs):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue