Filter top-level books.
[wolnelektury.git] / src / catalogue / admin.py
index 47032ba..4f30b24 100644 (file)
@@ -38,6 +38,7 @@ class BookAdmin(admin.ModelAdmin):
     list_filter = [
             'print_on_demand',
             ('wiki_link', BlankFieldListFilter),
+            ('parent', EmptyFieldListFilter),
             ]
     search_fields = ('title',)
     ordering = ('title',)