Skip to content

Commit

Permalink
refactor: add events to heartbeat admin
Browse files Browse the repository at this point in the history
  • Loading branch information
ohrstrom committed Dec 7, 2023
1 parent 01d695b commit cdaefc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions obr_core/stats/admin/heartbeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ class HeartbeatAdmin(
admin.ModelAdmin,
):
list_display = [
"user_identity",
# "user_identity",
"time_online",
"user_display",
"time_since_last_heartbeat_in_seconds",
"time_online",
# "created",
"player_source",
"player_state",
Expand All @@ -141,9 +141,9 @@ class HeartbeatAdmin(
"player_source",
"player_state",
]
date_hierarchy = "time"
search_fields = [
"user_identity",
"user_agent",
]
readonly_fields = [
"time",
Expand Down

0 comments on commit cdaefc8

Please sign in to comment.