From 174b46abd1cde9ed8b962602ac48c34cd27faf92 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 25 Mar 2019 12:45:53 -0400 Subject: [PATCH] add mobied to ebf admin --- core/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/admin.py b/core/admin.py index 962c6736..af3962eb 100644 --- a/core/admin.py +++ b/core/admin.py @@ -225,8 +225,8 @@ class EbookFileAdmin(ModelAdmin): list_display = ('created', 'format', 'ebook_link', 'asking') date_hierarchy = 'created' ordering = ('edition__work',) - fields = ('file', 'format', 'edition', 'edition_link', 'ebook', 'ebook_link', 'source') - readonly_fields = ('file', 'edition_link', 'ebook_link',) + fields = ('file', 'format', 'edition', 'edition_link', 'ebook', 'ebook_link', 'source', 'mobied') + readonly_fields = ('file', 'edition_link', 'ebook_link', 'source') def edition_link(self, obj): if obj.edition: link = reverse("admin:core_edition_change", args=[obj.edition_id])