diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/admin.py | 1 |
1 files changed, 1 insertions, 0 deletions
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): |