{% extends 'store/base.html' %} {% load customfunction %} {% block container %}
{% for item in book %}
{{ item.name }} {{ item.writer }}
{{ item.totalrating|averagerating:item.totalreview }} {{ item.totalreview|add:-1 }}

₱{{ item.price }}

{% endfor %}
{% if book|length > 0 %}
{% else %}

There are no books Found.

{% endif %} {% endblock %}