summaryrefslogtreecommitdiff
path: root/app/books/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/books/admin.py')
-rw-r--r--app/books/admin.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/books/admin.py b/app/books/admin.py
index 3faa14e..a00c896 100644
--- a/app/books/admin.py
+++ b/app/books/admin.py
@@ -1,10 +1,9 @@
from django.contrib import admin
from .models import Book
-from orderable.admin import OrderableAdmin
@admin.register(Book)
-class BookAdmin(OrderableAdmin):
- list_display = ('title', 'admin_thumbnail', 'isbn', 'author_last_name', 'sort_order_display')
+class BookAdmin(admin.ModelAdmin):
+ list_display = ('title', 'admin_thumbnail', 'isbn', 'author_last_name',)
search_fields = ['title', 'body_markdown']
class Media: