allow KBItems to be disabled for users

This commit is contained in:
Petr Dlouhý
2020-02-25 14:46:21 +01:00
parent d0aafd6135
commit 93e82f5469
4 changed files with 25 additions and 2 deletions

View File

@ -70,7 +70,7 @@ class FollowUpAdmin(admin.ModelAdmin):
@admin.register(KBItem)
class KBItemAdmin(admin.ModelAdmin):
list_display = ('category', 'title', 'last_updated', 'team', 'order')
list_display = ('category', 'title', 'last_updated', 'team', 'order', 'enabled')
inlines = [KBIAttachmentInline]
readonly_fields = ('voted_by', 'downvoted_by')