njpma/app/templates/films.html

9 lines
246 B
HTML

{% extends "base.html" %}
{% block main %}
{% for film in films %}
<div class="film">
<a href="{% url 'film' film.slug %}">{{ film.data.title | safe }}</a>
<span>{{ film.data.director|join:", "|safe }}</span>
</div>
{% endfor %}
{% endblock %}