fixed some templating issues

This commit is contained in:
MassiveAtoms
2020-07-14 19:48:54 -03:00
parent f13132d0c7
commit 5a83ccfc07
8 changed files with 11 additions and 9 deletions

View File

@ -17,7 +17,8 @@
<tr>
<td><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></td>
<td>{{book.author_sort}}</td>
<td> {% for rating in book.ratings.all %}
<td>
{% for rating in book.ratings.all %}
{{rating}}
{% endfor %}
</td>

View File

@ -17,9 +17,8 @@
<tr>
<td><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></td>
<td>{{book.author_sort}}</td>
<td> {% for rating in book.rating.all %}
<td>
{{rating}}
{% endfor %}
</td>
<td>
{% for tag in book.tags.all %}

View File

@ -22,7 +22,7 @@
{% endfor %}
</td>
<td>
{% for tag in book.tag.all %}
{% for tag in book.tags.all %}
{{tag}},
{% endfor %}
</td>