doorcontrol: Add filtering by timestamp in admin
This commit is contained in:
parent
56d4601640
commit
67f13ce580
@ -25,6 +25,7 @@ class HIDEventAdmin(admin.ModelAdmin):
|
||||
search_fields = ["forename", "surname", "cardholder_id"]
|
||||
list_display = ["door_name", "timestamp", "event_type", "description", "is_red"]
|
||||
list_filter = [
|
||||
"timestamp",
|
||||
"door_name",
|
||||
"event_type",
|
||||
IsRedFilter,
|
||||
|
Loading…
Reference in New Issue
Block a user