diff --git a/registrasion/admin.py b/registrasion/admin.py index 95e46b70..6c0b44e9 100644 --- a/registrasion/admin.py +++ b/registrasion/admin.py @@ -215,3 +215,15 @@ class GroupMemberFlagAdmin(admin.ModelAdmin, EffectsDisplayMixin): fields = ("description", "group") list_display = ("description", "effects") + + +@admin.register(conditions.TimeOrStockLimitFlag) +class TimeOrStockLimitFlagAdmin(admin.ModelAdmin, EffectsDisplayMixin): + list_display = ( + "description", + "start_time", + "end_time", + "limit", + "effects", + ) + ordering = ("start_time", "end_time", "limit")