membershipworks: Improve admin listing for Flags
This commit is contained in:
parent
fdfb557dd1
commit
03ccf73d81
@ -27,3 +27,6 @@ class MemberAdmin(ReadOnlyAdmin):
|
|||||||
@admin.register(Flag)
|
@admin.register(Flag)
|
||||||
class FlagAdmin(ReadOnlyAdmin):
|
class FlagAdmin(ReadOnlyAdmin):
|
||||||
inlines = [MemberFlagInline]
|
inlines = [MemberFlagInline]
|
||||||
|
list_display = ["name", "type"]
|
||||||
|
list_filter = ["type"]
|
||||||
|
search_fields = ["name"]
|
||||||
|
Loading…
Reference in New Issue
Block a user