Move decoder interface def into rolling stock

This commit is contained in:
2022-11-01 00:05:47 +01:00
parent 90ffadb2ab
commit 242fe6814d
8 changed files with 80 additions and 12 deletions

View File

@@ -20,8 +20,8 @@ class PropertyAdmin(admin.ModelAdmin):
@admin.register(Decoder)
class DecoderAdmin(admin.ModelAdmin):
readonly_fields = ("image_thumbnail",)
list_display = ("__str__", "interface")
list_filter = ("manufacturer", "interface")
list_display = ("__str__", "sound")
list_filter = ("manufacturer", "sound")
search_fields = ("name", "manufacturer__name")