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

Add comments and linting

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2023-04-05 17:52:46 +02:00
parent 2840a15fd5
commit 7e212d011e
14 changed files with 166 additions and 147 deletions

View File

@ -3,8 +3,7 @@
from django.conf import settings
from django.contrib.auth.mixins import LoginRequiredMixin
from django.views.generic import TemplateView, DetailView
from django.views.generic import TemplateView
from participation.models import Tournament
@ -36,5 +35,4 @@ class DisplayView(LoginRequiredMixin, TemplateView):
context['tournaments_simplified'] = [{'id': t.id, 'name': t.name} for t in tournaments]
context['problems'] = settings.PROBLEMS
return context