{% extends "base_generic.html" %} {% block content %}

Author: {{ author }}

{{author.date_of_birth}} - {% if author.date_of_death %}{{author.date_of_death}}{% endif %}

Books

{% for book in author.book_set.all %}
{{book}} ({{book.bookinstance_set.all.count}})
{{book.summary}}
{% endfor %}
{% endblock %}