Sponsors should be filterable by camp.
This commit is contained in:
parent
ef8d3f3ecf
commit
544d6ba07b
|
@ -6,6 +6,7 @@ from .models import Sponsor, SponsorTier
|
||||||
@admin.register(Sponsor)
|
@admin.register(Sponsor)
|
||||||
class SponsorAdmin(admin.ModelAdmin):
|
class SponsorAdmin(admin.ModelAdmin):
|
||||||
list_display = ('name', 'tier')
|
list_display = ('name', 'tier')
|
||||||
|
list_filter = ('tier__camp',)
|
||||||
|
|
||||||
|
|
||||||
@admin.register(SponsorTier)
|
@admin.register(SponsorTier)
|
||||||
|
|
Loading…
Reference in a new issue