Modified books to book

parent a1e9a76d
Pipeline #2958 failed with stages
......@@ -8,7 +8,7 @@ class AuthorAdmin(admin.ModelAdmin):
list_filter = ['first_name', 'last_name', 'nationality',]
class BooksAdmin(admin.ModelAdmin):
model = Books
model = Book
list_display = ('title', 'author', 'publisher', 'year_published',)
search_fields = ('title', 'author', 'publisher', 'year_published', 'ISBN',)
list_filter = ['title', 'author', 'year_published',]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment