From 98cd3f5b0fb40bdded4220069e1c5e75cb246024 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 26 Nov 2022 12:24:38 -0700 Subject: Fix tests --- users/admin.py | 1 + 1 file changed, 1 insertion(+) (limited to 'users') diff --git a/users/admin.py b/users/admin.py index 7a54c52..f0d484d 100644 --- a/users/admin.py +++ b/users/admin.py @@ -68,6 +68,7 @@ class InboxMessageAdmin(admin.ModelAdmin): list_display = ["id", "state", "state_attempted", "message_type", "message_actor"] search_fields = ["message"] actions = ["reset_state"] + readonly_fields = ["state_changed"] @admin.action(description="Reset State") def reset_state(self, request, queryset): -- cgit v1.2.3