From bcf031feee1da017fcc5f0dfb170e9677d202ffc Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 24 Jun 2018 17:33:32 +0200 Subject: [PATCH] Export other editor --- manuels/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manuels/admin.py b/manuels/admin.py index 711ca7c..df61695 100644 --- a/manuels/admin.py +++ b/manuels/admin.py @@ -33,10 +33,10 @@ class LevelAdmin(admin.ModelAdmin): class BookResource(resources.ModelResource): class Meta: model = Book - fields = ('title', 'authors', 'editor__name', 'publication_year', 'isbn', 'comments', + fields = ('title', 'authors', 'editor__name', 'publication_year', 'isbn', 'comments', 'other_editor', 'price', 'previously_acquired', 'teacher__first_name', 'teacher__last_name', 'level__name', 'field') export_order = ('level__name', 'field', 'title', 'authors', 'editor__name', 'publication_year', 'isbn', 'price', - 'previously_acquired', 'teacher__first_name', 'teacher__last_name', 'comments') + 'other_editor', 'previously_acquired', 'teacher__first_name', 'teacher__last_name', 'comments') @admin.register(Book)