Add AP output to emoji admin

This commit is contained in:
Andrew Godwin 2022-12-17 12:07:13 -07:00
parent 62f2b867b9
commit 5bbcc0f6c3

View File

@ -66,7 +66,7 @@ class EmojiAdmin(admin.ModelAdmin):
list_filter = ("local", "public", "state") list_filter = ("local", "public", "state")
search_fields = ("shortcode",) search_fields = ("shortcode",)
readonly_fields = ("preview", "created", "updated") readonly_fields = ["preview", "created", "updated", "to_ap_tag"]
actions = ["force_execution", "approve_emoji", "reject_emoji"] actions = ["force_execution", "approve_emoji", "reject_emoji"]