Commit 2ccaee0c authored by Ysabella Panghulan's avatar Ysabella Panghulan

changed books method name to get_books

parent fb552120
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<h3>Books by {{ object }} I love:</h3> <h3>Books by {{ object }} I love:</h3>
<div class="book-list"> <div class="book-list">
<ul> <ul>
{% for book in object.books %} {% for book in object.get_books %}
<li><a href="{{ book.get_absolute_url }}">{{ book }}</a></li> <li><a href="{{ book.get_absolute_url }}">{{ book }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment