added event filter for teams in admin panel

This commit is contained in:
Danhia 2022-01-24 12:59:09 +01:00
parent 1258096220
commit 1081fb35b2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class score(admin.ModelAdmin):
@admin.register(Team)
class team(admin.ModelAdmin):
#list display
list_display = ['name', 'password']
list_display = ['name', 'event']
#list Filter
list_filter = ('event',)
# search list