1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-24 05:48:49 +02:00

Update draw with the new team repartition

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-03-24 21:37:37 +01:00
parent e9ae1fcb60
commit df036ba384
3 changed files with 52 additions and 24 deletions

View File

@ -93,7 +93,7 @@ class TeamAdmin(admin.ModelAdmin):
class ParticipationAdmin(admin.ModelAdmin):
list_display = ('team', 'tournament', 'valid', 'final',)
search_fields = ('team__name', 'team__trigram',)
list_filter = ('valid',)
list_filter = ('valid', 'tournament',)
autocomplete_fields = ('team', 'tournament',)
inlines = (SolutionInline, SynthesisInline,)