diff options
author | luxagraf <sng@luxagraf.net> | 2017-05-29 17:40:44 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2017-05-29 17:40:44 -0500 |
commit | 91e8c1015beb5005113c7a7b52ce76b13e5763cf (patch) | |
tree | f16e603e22cc87999988c6e9b2a5ad216b71a525 /app/books/admin.py | |
parent | 5cbbfef7bb341a83559bee75e49f6b3c047e6c7a (diff) |
fixed a bug in book admin
Diffstat (limited to 'app/books/admin.py')
-rw-r--r-- | app/books/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |