Commit 7216cce6 authored by Jiuvi Anne Hu's avatar Jiuvi Anne Hu

Changed list view and searching in song admin. Edited values of some items in the database.

parent d6a07e1c
...@@ -16,8 +16,8 @@ class AlbumAdmin(admin.ModelAdmin): ...@@ -16,8 +16,8 @@ class AlbumAdmin(admin.ModelAdmin):
class SongAdmin(admin.ModelAdmin): class SongAdmin(admin.ModelAdmin):
model = Song model = Song
list_display = ('song_title', 'song_length', 'music_video',) list_display = ('song_title', 'song_length', 'lyrics', 'music_video',)
search_fields = ('album',) search_fields = ('song_title', 'lyrics',)
list_filter = ('song_title',) list_filter = ('song_title',)
# Register your models here. # Register your models here.
......
No preview for this file type
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