Sponsors should be filterable by camp.

This commit is contained in:
Vidir Valberg Gudmundsson 2017-07-15 16:20:51 +02:00
parent ef8d3f3ecf
commit 544d6ba07b

View file

@ -6,6 +6,7 @@ from .models import Sponsor, SponsorTier
@admin.register(Sponsor)
class SponsorAdmin(admin.ModelAdmin):
list_display = ('name', 'tier')
list_filter = ('tier__camp',)
@admin.register(SponsorTier)