add KBitem.order to allow ordering items

This commit is contained in:
Petr Dlouhý
2020-02-25 14:43:10 +01:00
parent 5a594b7436
commit d0aafd6135
3 changed files with 30 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', )
list_display = ('category', 'title', 'last_updated', 'team', 'order')
inlines = [KBIAttachmentInline]
readonly_fields = ('voted_by', 'downvoted_by')