Commit 4576d684 authored by Gink's avatar Gink

Ultimate fixzzz

parent 3a9e8eb9
......@@ -64,7 +64,7 @@ def artist_profile(request, identifier):
def album_profile(request, identifier):
result = Album.objects.filter(id = identifier)
artist_name = result[0].Artist.name
artist_name = result[0].artist.name
songs =Song.objects.filter(album = identifier)
return render(request, 'album.html', {'result':result[0], 'songs': songs, 'artist': artist_name})
......
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