Skip to content

Commit a732ebf

Browse files
committed
Added admin interface for GroupEvents.
- Legacy-Id: 4619
1 parent 4afcb97 commit a732ebf

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

ietf/group/admin.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,12 @@ class RoleAdmin(admin.ModelAdmin):
131131
raw_id_fields = ["email", "person", "group"]
132132
admin.site.register(Role, RoleAdmin)
133133
admin.site.register(RoleHistory, RoleAdmin)
134+
135+
class GroupEventAdmin(admin.ModelAdmin):
136+
list_display = ["id", "group", "time", "type", "by", ]
137+
admin.site.register(GroupEvent, GroupEventAdmin)
138+
139+
class ChangeStateGroupEventAdmin(admin.ModelAdmin):
140+
list_display = ["id", "group", "state", "time", "type", "by", ]
141+
admin.site.register(ChangeStateGroupEvent, ChangeStateGroupEventAdmin)
142+

0 commit comments

Comments
 (0)