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:
@ -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()
|
||||
|
Reference in New Issue
Block a user