forked from extern/django-helpdesk
Merge pull request #694 from auto-mat/votes
Set voted_by to read only in knowledge base admin
This commit is contained in:
commit
17fef846e2
@ -51,6 +51,8 @@ class FollowUpAdmin(admin.ModelAdmin):
|
|||||||
@admin.register(KBItem)
|
@admin.register(KBItem)
|
||||||
class KBItemAdmin(admin.ModelAdmin):
|
class KBItemAdmin(admin.ModelAdmin):
|
||||||
list_display = ('category', 'title', 'last_updated',)
|
list_display = ('category', 'title', 'last_updated',)
|
||||||
|
readonly_fields = ('voted_by',)
|
||||||
|
|
||||||
list_display_links = ('title',)
|
list_display_links = ('title',)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user