fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
l10n
[audio.git]
/
src
/
archive
/
admin.py
diff --git
a/src/archive/admin.py
b/src/archive/admin.py
index
577a0ae
..
279c6dc
100644
(file)
--- a/
src/archive/admin.py
+++ b/
src/archive/admin.py
@@
-5,7
+5,10
@@
admin.site.register(Project)
class AudiobookAdmin(admin.ModelAdmin):
class AudiobookAdmin(admin.ModelAdmin):
- list_filter = ['license']
+ list_display = ["title", "slug", "index", "part_name", "license", "youtube_volume"]
+ list_filter = ["license"]
+ search_fields = ["title", "slug", "part_name", "youtube_volume"]
+ list_editable = ["youtube_volume"]
admin.site.register(Audiobook, AudiobookAdmin)
admin.site.register(Audiobook, AudiobookAdmin)