{% extends 'music/base.html' %} {% block albums_active %}active{% endblock %} {% block body %}

{{ user.username }}'s Albums

{% if albums %} {% for album in albums %}

{{ album.album_title }}

{{ album.artist }}

View Details
{% csrf_token %}
{% cycle '' '' '' '' '' '
' %} {% endfor %} {% else %} {% endif %}
{% if songs %}

Songs

{% for song in songs %} {% endfor %}
Song Title Artist Audio File Album Favorite
{{ song.song_title }} {{ song.album.artist }} {{ song.album.album_title }}
{% endif %}
{% endblock %}