{% extends "base.html" %} {% load humanize %} {% block meta-title %}Authors (with counts){% endblock %} {% block nav-menu-items %} {% with True as books_authors_with_counts_is_active %} {% include "snippets/menu_items.html" %} {% endwith %} {% endblock nav-menu-items %} {% block main-content %}
Salutation | Name | Number of books | First book published on | Last book published on | Lowest book price | Highest book price | Average book price | Average number of pages per book | Number of books sold | Total amount earned | |
---|---|---|---|---|---|---|---|---|---|---|---|
{{ author.salutation }} | {{ author.name }} | {{ author.email }} | {{ author.number_of_books }} | {{ author.first_book_published_on|date }} | {{ author.last_book_published_on|date }} | {{ author.lowest_book_price|floatformat:2 }} | {{ author.highest_book_price|floatformat:2 }} | {{ author.average_book_price|floatformat:2 }} | {{ author.average_number_of_pages_per_book|floatformat:0 }} | {{ author.number_of_books_sold }} | {{ author.total_amount_earned|intcomma }} |