X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/23994f414001d00c7e1dcad37a33cd7379d510e1..3d43625e3a4a34761b4aa628e7af9732a21447da:/src/archive/admin.py?ds=sidebyside diff --git a/src/archive/admin.py b/src/archive/admin.py index 577a0ae..279c6dc 100644 --- a/src/archive/admin.py +++ b/src/archive/admin.py @@ -5,7 +5,10 @@ admin.site.register(Project) 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)