Skip to content

Commit

Permalink
Display chapter filename
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Jan 30, 2020
1 parent 443971b commit a1d7b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eoapublications/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit a1d7b97

Please sign in to comment.