1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-29 07:31:41 +02:00

Remove observer status

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-04-16 23:58:42 +02:00
parent 5bfcaab831
commit 338a19ec32
11 changed files with 279 additions and 417 deletions

View File

@ -51,7 +51,7 @@ class PassageInline(admin.TabularInline):
model = Passage
extra = 0
ordering = ('position',)
autocomplete_fields = ('defender', 'opponent', 'reporter', 'observer',)
autocomplete_fields = ('defender', 'opponent', 'reporter',)
show_change_link = True
@ -118,7 +118,7 @@ class PassageAdmin(admin.ModelAdmin):
list_filter = ('pool__tournament', 'pool__round', 'pool__letter', 'solution_number',)
search_fields = ('pool__participations__team__name', 'pool__participations__team__trigram',)
ordering = ('pool__tournament', 'pool__round', 'pool__letter', 'position',)
autocomplete_fields = ('pool', 'defender', 'opponent', 'reporter', 'observer',)
autocomplete_fields = ('pool', 'defender', 'opponent', 'reporter',)
inlines = (NoteInline,)
@admin.display(description=_("defender"), ordering='defender__team__trigram')