Commit b9bb65a8 authored by RJC's avatar RJC

fixed minor bug in authors.html

parent 7b617788
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
{% block header %}RJ's Favorite Authors{% endblock %} {% block header %}RJ's Favorite Authors{% endblock %}
{% block content %} {% block content %}
{% for authors in authors %} {% for authors in authors %}
<a href="http://127.0.0.1:8000/books/{{ authors.pk }}">{{ authors.first_name }} {{ authors.last_name }}</a><br> <a href="http://127.0.0.1:8000/authors/{{ authors.pk }}">{{ authors.first_name }} {{ authors.last_name }}</a><br>
{% endfor %} {% endfor %}
<br> <br>
<a href="http://127.0.0.1:8000/homepage/">Home</a> <a href="http://127.0.0.1:8000/homepage/">Home</a>
......
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