added event filter for teams in admin panel
This commit is contained in:
parent
5242150b92
commit
4802218005
|
@ -22,7 +22,7 @@ class score(admin.ModelAdmin):
|
||||||
@admin.register(Team)
|
@admin.register(Team)
|
||||||
class team(admin.ModelAdmin):
|
class team(admin.ModelAdmin):
|
||||||
#list display
|
#list display
|
||||||
list_display = ['name', 'password']
|
list_display = ['name', 'event']
|
||||||
#list Filter
|
#list Filter
|
||||||
list_filter = ('event',)
|
list_filter = ('event',)
|
||||||
# search list
|
# search list
|
||||||
|
|
Loading…
Reference in New Issue