from django.contrib import admin
from .models import Book, Author


class BookAdmin(admin.ModelAdmin):
    list_display = ('name', 'serie_number', 'author')


class AuthorAdmin(admin.ModelAdmin):
    list_display = ('firstname', 'email')


admin.site.register(Book, BookAdmin)
admin.site.register(Author, AuthorAdmin)



f5817e289bdbec636ef5e1ced1c328e67beb838a
<mask token>


class AuthorAdmin(admin.ModelAdmin):
    list_display = 'firstname', 'email'


<mask token>

<mask token>


class BookAdmin(admin.ModelAdmin):
    list_display = 'name', 'serie_number', 'author'


class AuthorAdmin(admin.ModelAdmin):
    list_display = 'firstname', 'email'


<mask token>

<mask token>


class BookAdmin(admin.ModelAdmin):
    list_display = 'name', 'serie_number', 'author'


class AuthorAdmin(admin.ModelAdmin):
    list_display = 'firstname', 'email'


admin.site.register(Book, BookAdmin)
admin.site.register(Author, AuthorAdmin)

from django.contrib import admin
from .models import Book, Author


class BookAdmin(admin.ModelAdmin):
    list_display = 'name', 'serie_number', 'author'


class AuthorAdmin(admin.ModelAdmin):
    list_display = 'firstname', 'email'


admin.site.register(Book, BookAdmin)
admin.site.register(Author, AuthorAdmin)

from django.contrib import admin
from .models import Book, Author


class BookAdmin(admin.ModelAdmin):
    list_display = ('name', 'serie_number', 'author')


class AuthorAdmin(admin.ModelAdmin):
    list_display = ('firstname', 'email')


admin.site.register(Book, BookAdmin)
admin.site.register(Author, AuthorAdmin)


