diff --git a/src/teams/admin.py b/src/teams/admin.py index ee7cc271..6c304725 100644 --- a/src/teams/admin.py +++ b/src/teams/admin.py @@ -2,7 +2,19 @@ from django.contrib import admin from .models import Team, TeamArea, TeamMember -admin.site.register(Team) admin.site.register(TeamArea) -admin.site.register(TeamMember) + +@admin.register(Team) +class TeamAdmin(admin.ModelAdmin): + list_filter = [ + 'camp', + ] + +@admin.register(TeamMember) +class TeamMemberAdmin(admin.ModelAdmin): + list_filter = [ + 'team', + 'approved', + ] +