Improved list view for artist and album

parent 19565423
No preview for this file type
......@@ -6,14 +6,14 @@ class ArtistAdmin(admin.ModelAdmin):
model = Artist
search_fields = ('artist_name',)
list_display = ('artist_name',)
list_display = ('artist_name','monthly_listeners',)
list_filter = ('artist_name',)
class AlbumAdmin(admin.ModelAdmin):
model = Album
search_fields = ('album_name', 'artist',)
list_display = ('album_name', 'artist',)
list_display = ('album_name', 'artist','release_date',)
list_filter = ('album_name', 'artist',)
class SongAdmin(admin.ModelAdmin):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment