From bd070f3becdfb912bb2dc6112ae848e0e6c593d9 Mon Sep 17 00:00:00 2001 From: Timothy Hobbs Date: Tue, 22 Jan 2019 18:29:32 +0100 Subject: [PATCH] Set voted_by to read only in knowledge base admin --- helpdesk/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpdesk/admin.py b/helpdesk/admin.py index ed1ab601..58d5ef09 100644 --- a/helpdesk/admin.py +++ b/helpdesk/admin.py @@ -51,6 +51,8 @@ class FollowUpAdmin(admin.ModelAdmin): @admin.register(KBItem) class KBItemAdmin(admin.ModelAdmin): list_display = ('category', 'title', 'last_updated',) + readonly_fields = ('voted_by',) + list_display_links = ('title',)