add a few things to the TeamAdmin
This commit is contained in:
parent
4d8b70f278
commit
43aefc880a
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue