From 91e8c1015beb5005113c7a7b52ce76b13e5763cf Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 29 May 2017 17:40:44 -0500 Subject: fixed a bug in book admin --- app/books/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/books/admin.py') diff --git a/app/books/admin.py b/app/books/admin.py index 6d75050..1896067 100644 --- a/app/books/admin.py +++ b/app/books/admin.py @@ -5,7 +5,7 @@ from .models import Book, BookHighlight class BookAdmin(admin.ModelAdmin): list_display = ('title', 'admin_thumbnail', 'rating', 'isbn', 'author_name', 'read_date', 'publish_date') search_fields = ['title', 'body_markdown'] - list_filter = ('pub_date', 'rating', 'read_date') + list_filter = ('rating', 'read_date') class BookHighlightAdmin(admin.ModelAdmin): -- cgit v1.2.3-70-g09d2