Commit 407bc54d authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

fixed for loops for author and books

parent 8493324d
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<p>{{ author.bio }}</p> <p>{{ author.bio }}</p>
<p>Books by {{ author.first_name }} {{ author.last_name }} I love</p> <p>Books by {{ author.first_name }} {{ author.last_name }} I love</p>
<a href="/bookshelf/books/1/details/">Home</a><br> <a href="/bookshelf/books/<int:pk>/details/">Home</a><br>
<a href="/bookshelf/">Home</a>&nbsp;&nbsp; <a href="/bookshelf/">Home</a>&nbsp;&nbsp;
<a href="/bookshelf/books/">Books</a>&nbsp;&nbsp; <a href="/bookshelf/books/">Books</a>&nbsp;&nbsp;
......
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