Commit 78d010a6 authored by Lance Cedric Tan's avatar Lance Cedric Tan

Populated the models with data

parent 31e72055
Pipeline #2819 failed with stages
...@@ -10,7 +10,7 @@ class ArtistAdmin(admin.ModelAdmin): ...@@ -10,7 +10,7 @@ class ArtistAdmin(admin.ModelAdmin):
search_fields = ('artist_name', 'birth_name',) search_fields = ('artist_name', 'birth_name',)
filter_display = ('artist_name', 'birth_name',) list_filter = ('artist_name', 'birth_name',)
class AlbumAdmin(admin.ModelAdmin): class AlbumAdmin(admin.ModelAdmin):
...@@ -21,7 +21,7 @@ class AlbumAdmin(admin.ModelAdmin): ...@@ -21,7 +21,7 @@ class AlbumAdmin(admin.ModelAdmin):
search_fields = ('album_name', 'description', 'label',) search_fields = ('album_name', 'description', 'label',)
filter_display = ('album_name',) list_filter = ('album_name',)
class SongAdmin(admin.ModelAdmin): class SongAdmin(admin.ModelAdmin):
...@@ -31,7 +31,7 @@ class SongAdmin(admin.ModelAdmin): ...@@ -31,7 +31,7 @@ class SongAdmin(admin.ModelAdmin):
search_fields = ('song_title', 'lyrics',) search_fields = ('song_title', 'lyrics',)
filter_display = ('song_title',) list_filter = ('song_title',)
admin.site.register(Artist, ArtistAdmin) admin.site.register(Artist, ArtistAdmin)
......
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