Skip to content

Commit

Permalink
add auxiliary field to admin
Browse files Browse the repository at this point in the history
  • Loading branch information
AmooHashem committed May 16, 2024
1 parent b50f868 commit 014a3cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/fsm/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ class PlayerHistoryAdmin(ExportActionMixin, admin.ModelAdmin):
model = PlayerStateHistory
readonly_fields = ('arrival_time',)
list_display = ['player', 'state', 'arrival_time', 'departure_time',
'transited_edge', 'is_edge_transited_in_reverse', 'delta_time', 'is_processed']
'transited_edge', 'is_edge_transited_in_reverse', 'delta_time', 'is_processed', 'is_processed2']
list_filter = ['arrival_time', 'departure_time',
'state__fsm', 'state', 'transited_edge', 'is_processed']
'state__fsm', 'state', 'transited_edge', 'is_processed', 'is_processed2']
raw_id_fields = ('player', 'state', 'arrival', 'departure')

def delta_time(self, obj):
Expand Down

0 comments on commit 014a3cb

Please sign in to comment.