corrected typo for AlbumAdmin

parent 8aab095f
...@@ -2,6 +2,6 @@ Kirsten Daena C. Chidrome ...@@ -2,6 +2,6 @@ Kirsten Daena C. Chidrome
211445 211445
CSCI 40-C CSCI 40-C
Lab 02: Song Library v2 Lab 02: Song Library v2
February 20,2022 February 21,2022
I, Kirsten Chidrome, started and completed this project. I, Kirsten Chidrome, started and completed this project.
Signed Kirsten Daena C. Chidrome, February 20, 2022 Signed Kirsten Daena C. Chidrome, February 21, 2022
\ No newline at end of file \ No newline at end of file
...@@ -10,7 +10,7 @@ class ArtistAdmin(admin.ModelAdmin): ...@@ -10,7 +10,7 @@ class ArtistAdmin(admin.ModelAdmin):
class AlbumAdmin(admin.ModelAdmin): class AlbumAdmin(admin.ModelAdmin):
list_display = ("album_name", "description", "release_date", "label", "song_count") list_display = ("album_name", "description", "release_date", "label", "song_count")
search_field = ("album_name", "description", "label") search_field = ("album_name", "description", "label")
list_filter = ("lbum_name") list_filter = ("album_name")
class SongAdmin(admin.ModelAdmin): class SongAdmin(admin.ModelAdmin):
list_display = ("song_title", "song_length","lyrics", "music_video" ) list_display = ("song_title", "song_length","lyrics", "music_video" )
......
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