Commit f2241176 authored by Gabriel G. Garrero's avatar Gabriel G. Garrero

Added missing arguments to Django Admin setup.

parent d780bf8f
......@@ -18,4 +18,8 @@ class SongAdmin(admin.ModelAdmin):
model = Song
list_display = ("song_title", "song_length", "lyrics", "music_video")
search_fields = ("song_title", "lyrics")
list_filter = ("song_title")
\ No newline at end of file
list_filter = ("song_title")
admin.site.register(Artist, ArtistAdmin)
admin.site.register(Album, AlbumAdmin)
admin.site.register(Song, SongAdmin)
\ No newline at end of file
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