{% extends "layout.html" %} {% block body %}

My playlists

{% if not mine.count() %}

You don't have any playlists.

{% else %} {% for p in mine %} {% endfor %}
PlaylistTracksPublic
{{ p.name }} {{ p.tracks|length }} X
{% endif %} {% if others.count() %}

Others' playslits

{% for p in others %} {% endfor %}
PlaylistOwnerTracks
{{ p.name }} {{ p.user.name }} {{ p.tracks|length }}
{% endif %} {% endblock %}