Skip to content

Commit

Permalink
added filter for assocs that are band admins
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Oppenheimer authored and Aaron Oppenheimer committed Jul 14, 2024
1 parent aaa002a commit cd29971
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions band/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit cd29971

Please sign in to comment.