From a1d7b97c7d7757ad69ee8371d3aa503166195e06 Mon Sep 17 00:00:00 2001 From: kthoden Date: Thu, 30 Jan 2020 15:30:56 +0100 Subject: [PATCH] Display chapter filename --- eoapublications/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eoapublications/admin.py b/eoapublications/admin.py index 266cc40..509b1ea 100644 --- a/eoapublications/admin.py +++ b/eoapublications/admin.py @@ -21,7 +21,7 @@ class PublicationAdmin(admin.ModelAdmin): actions = [make_published] class ChapterAdmin(admin.ModelAdmin): - list_display = ('shorten_title', 'Order', 'Publication', 'Chapterauthor1', 'Chapterauthor2', 'Chapterauthor3', 'Chapterauthor4', 'Chapterauthor5', ) + list_display = ('shorten_title', 'Order', 'Publication', 'Chapterpdffile', 'Chapterauthor1', 'Chapterauthor2', 'Chapterauthor3', 'Chapterauthor4', 'Chapterauthor5', ) def shorten_title(self, title_object): """Shorten title for more readable output"""