From cd29971b93a263c66f4de7fa81aa142955a1c5c4 Mon Sep 17 00:00:00 2001 From: Aaron Oppenheimer Date: Sun, 14 Jul 2024 10:28:41 -0400 Subject: [PATCH] added filter for assocs that are band admins --- band/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/band/admin.py b/band/admin.py index bf898123..bbcea5d4 100644 --- a/band/admin.py +++ b/band/admin.py @@ -28,6 +28,7 @@ class BandAdmin(admin.ModelAdmin): @admin.register(Assoc) class AssocAdmin(admin.ModelAdmin): search_fields=['member__username', 'member__nickname', 'member__email', 'band__name'] + list_filter = ('is_admin',) admin.site.register(Section)