1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-23 09:16:36 +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

@ -4,7 +4,7 @@
from django.contrib import admin
from django.utils.translation import gettext_lazy as _
from .models import Draw, Round, Pool, TeamDraw
from .models import Draw, Pool, Round, TeamDraw
@admin.register(Draw)
@ -59,4 +59,4 @@ class TeamDrawAdmin(admin.ModelAdmin):
@admin.display(ordering='round__number', description=_('round'))
def view_round(self, record):
return record.round.get_number_display()
return record.round.get_number_display()