From 41cdb96e9437dd340dedfaf3157c1b5564274681 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 2 Mar 2023 15:08:11 -0500 Subject: [PATCH] Clean up album admin with new data --- vrobbler/apps/music/admin.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/vrobbler/apps/music/admin.py b/vrobbler/apps/music/admin.py index e1c34eb..69b4b4a 100644 --- a/vrobbler/apps/music/admin.py +++ b/vrobbler/apps/music/admin.py @@ -8,8 +8,18 @@ from scrobbles.admin import ScrobbleInline @admin.register(Album) class AlbumAdmin(admin.ModelAdmin): date_hierarchy = "created" - list_display = ("name", "year", "musicbrainz_id") - list_filter = ("year",) + list_display = ( + "name", + "year", + "primary_artist", + "theaudiodb_genre", + "theaudiodb_mood", + "musicbrainz_id", + ) + list_filter = ( + "theaudiodb_score", + "theaudiodb_genre", + ) ordering = ("name",) filter_horizontal = [ 'artists',