forked from 42CTF/website
added event filter for teams in admin panel
This commit is contained in:
parent
1258096220
commit
1081fb35b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue