Export editor name
This commit is contained in:
parent
a6d1abf2af
commit
0f4d66342e
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class LevelAdmin(admin.ModelAdmin):
|
|||
class BookResource(resources.ModelResource):
|
||||
class Meta:
|
||||
model = Book
|
||||
fields = ('title', 'authors', 'editor', 'publication_year', 'isbn',
|
||||
fields = ('title', 'authors', 'editor__name', 'publication_year', 'isbn',
|
||||
'price', 'previously_acquired', 'teacher__first_name', 'teacher__last_name', 'level__name', 'field')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue