Commit b9bb65a8 authored by RJC's avatar RJC

fixed minor bug in authors.html

parent 7b617788
......@@ -4,7 +4,7 @@
{% block header %}RJ's Favorite Authors{% endblock %}
{% block content %}
{% 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 %}
<br>
<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