fnp
/
audio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7a728f3
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 5 Jun 2020 13:19:32 +0000
(15:19 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 5 Jun 2020 13:19:32 +0000
(15:19 +0200)
src/archive/admin.py
patch
|
blob
|
history
diff --git
a/src/archive/admin.py
b/src/archive/admin.py
index
f6fcd4a
..
279c6dc
100644
(file)
--- a/
src/archive/admin.py
+++ b/
src/archive/admin.py
@@
-7,7
+7,7
@@
admin.site.register(Project)
class AudiobookAdmin(admin.ModelAdmin):
list_display = ["title", "slug", "index", "part_name", "license", "youtube_volume"]
list_filter = ["license"]
class AudiobookAdmin(admin.ModelAdmin):
list_display = ["title", "slug", "index", "part_name", "license", "youtube_volume"]
list_filter = ["license"]
-
list_search
= ["title", "slug", "part_name", "youtube_volume"]
+
search_fields
= ["title", "slug", "part_name", "youtube_volume"]
list_editable = ["youtube_volume"]
list_editable = ["youtube_volume"]