1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-26 07:57:38 +02:00

Add debug feature for problem draw, useful for final tournament

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-04-22 23:36:52 +02:00
parent 943276ef71
commit 0bc5ef0a7f
6 changed files with 253 additions and 134 deletions

View File

@ -40,4 +40,7 @@ class DisplayView(LoginRequiredMixin, TemplateView):
context['tournaments_simplified'] = [{'id': t.id, 'name': t.name} for t in tournaments]
context['problems'] = settings.PROBLEMS
context['range_100'] = range(0, 100, 10)
context['range_10'] = range(0, 10, 1)
return context