1. Luke Plant
  2. django-easyfilters

Source

django-easyfilters / django_easyfilters / tests / templates / books.html

{% extends "base.html" %}

{% block content %}
{{ booksfilter }}

<p>The following books were found:</p>
{% for book in books %}
<div class="book">
  <h2>{{ book.name }}</h2>
  <div><b>Authors:</b>
    {% for author in book.authors.all %}
    {{ author }}{% if not forloop.last %},{% endif %}
    {% endfor %}
    <br><b>Genre:</b> {{ book.genre }}</div>
</div>
{% endfor %}


{% endblock %}