make it possible to filter TeamMember by Camp in the Admin

This commit is contained in:
Thomas Steen Rasmussen 2018-04-11 10:21:37 +02:00
parent 547b594c8d
commit fdb22777c4

View file

@ -35,6 +35,7 @@ class TeamAdmin(admin.ModelAdmin):
@admin.register(TeamMember)
class TeamMemberAdmin(admin.ModelAdmin):
list_filter = [
CampPropertyListFilter,
'team',
'approved',
]