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',
'get_responsible',
'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 = [
CampPropertyListFilter,
'needs_members',
'public_irc_channel_bot',
'public_irc_channel_managed',
'private_irc_channel_bot',
'private_irc_channel_managed',
]
@admin.register(TeamMember)
class TeamMemberAdmin(admin.ModelAdmin):
list_filter = [