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

class BookAdmin(admin.ModelAdmin):
    list_display = ('title',)

admin.site.register(Book, BookAdmin)


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

admin.site.register(Author, AuthorAdmin)

class PublisherAdmin(admin.ModelAdmin):
    list_display = ('name',)

admin.site.register(Publisher, PublisherAdmin)