fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[wolnelektury.git]
/
src
/
catalogue
/
admin.py
diff --git
a/src/catalogue/admin.py
b/src/catalogue/admin.py
index
9d62c81
..
420cd3f
100644
(file)
--- a/
src/catalogue/admin.py
+++ b/
src/catalogue/admin.py
@@
-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',)
@@
-53,7
+54,7
@@
class FragmentAdmin(admin.ModelAdmin):
class CollectionAdmin(admin.ModelAdmin):
class CollectionAdmin(admin.ModelAdmin):
- list_display = ('title', 'listed')
+ list_display = ('title', 'listed'
, 'role'
)
prepopulated_fields = {'slug': ('title',)}
prepopulated_fields = {'slug': ('title',)}