add a few things to the TeamAdmin

This commit is contained in:
Thomas Steen Rasmussen 2018-04-13 20:55:25 +02:00
parent 4d8b70f278
commit 43aefc880a

View file

@ -25,13 +25,24 @@ class TeamAdmin(admin.ModelAdmin):
'camp', 'camp',
'get_responsible', 'get_responsible',
'needs_members', 'needs_members',
'public_irc_channel_name',
'public_irc_channel_bot',
'public_irc_channel_managed',
'private_irc_channel_name',
'private_irc_channel_bot',
'private_irc_channel_managed',
] ]
list_filter = [ list_filter = [
CampPropertyListFilter, CampPropertyListFilter,
'needs_members', 'needs_members',
'public_irc_channel_bot',
'public_irc_channel_managed',
'private_irc_channel_bot',
'private_irc_channel_managed',
] ]
@admin.register(TeamMember) @admin.register(TeamMember)
class TeamMemberAdmin(admin.ModelAdmin): class TeamMemberAdmin(admin.ModelAdmin):
list_filter = [ list_filter = [