Add missing constraint.
[wolnelektury.git] / src / catalogue / admin.py
index 2866fcc..420cd3f 100644 (file)
@@ -39,6 +39,7 @@ class BookAdmin(admin.ModelAdmin):
             'print_on_demand',
             ('wiki_link', BlankFieldListFilter),
             ('parent', EmptyFieldListFilter),
             'print_on_demand',
             ('wiki_link', BlankFieldListFilter),
             ('parent', EmptyFieldListFilter),
+            ('media', admin.EmptyFieldListFilter),
             ]
     date_hierarchy = 'created_at'
     search_fields = ('title',)
             ]
     date_hierarchy = 'created_at'
     search_fields = ('title',)