njpma/app/templates/films.html
2021-09-28 15:10:22 +02:00

10 lines
279 B
HTML

{% extends "base.html" %}
{% block main %}
some overview page with stuff
{% 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 %}