summaryrefslogtreecommitdiffstats
path: root/users
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-26 12:24:38 -0700
committerAndrew Godwin2022-11-26 12:24:38 -0700
commit98cd3f5b0fb40bdded4220069e1c5e75cb246024 (patch)
tree103c60e7ffd4a54c464bf5873183633f7a20e08e /users
parentdb88c733b4ea910cd37d97453d49b7b24f767dda (diff)
downloadtakahe-98cd3f5b0fb40bdded4220069e1c5e75cb246024.tar.gz
takahe-98cd3f5b0fb40bdded4220069e1c5e75cb246024.tar.bz2
takahe-98cd3f5b0fb40bdded4220069e1c5e75cb246024.zip
Fix tests
Diffstat (limited to 'users')
-rw-r--r--users/admin.py1
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):