mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 07:53:19 +01:00
Fix to voting code, downvoted_by field should be readonly
This commit is contained in:
parent
05bd852799
commit
c254336c57
@ -72,7 +72,7 @@ class FollowUpAdmin(admin.ModelAdmin):
|
||||
class KBItemAdmin(admin.ModelAdmin):
|
||||
list_display = ('category', 'title', 'last_updated',)
|
||||
inlines = [KBIAttachmentInline]
|
||||
readonly_fields = ('voted_by',)
|
||||
readonly_fields = ('voted_by', 'downvoted_by')
|
||||
|
||||
list_display_links = ('title',)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user