parent
734592207e
commit
4026dac3a3
1 changed files with 12 additions and 0 deletions
|
@ -215,3 +215,15 @@ class GroupMemberFlagAdmin(admin.ModelAdmin, EffectsDisplayMixin):
|
||||||
fields = ("description", "group")
|
fields = ("description", "group")
|
||||||
|
|
||||||
list_display = ("description", "effects")
|
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")
|
||||||
|
|
Loading…
Reference in a new issue