Commit efc2d905 authored by Brendan Fausto's avatar Brendan Fausto

fixed url error in books and authors list page

parent 3374e0f4
......@@ -15,7 +15,7 @@
<ul>
{% for object in authors %}
<li>
<a href = "http://127.0.0.1:8000/authors/{{ object.get_absolute_url }}/details">{{ object.first_name }} {{ object.last_name }} </a>
<a href = "{{ object.get_absolute_url }}">{{ object.first_name }} {{ object.last_name }} </a>
</li>
{% endfor %}
</ul>
......
......@@ -15,7 +15,7 @@
<ul>
{% for object in books %}
<li>
<a href = "http://127.0.0.1:8000/books/{{ object.get_absolute_url }}/details"> {{ object.title }} </a>
<a href = "{{ object.get_absolute_url }}"> {{ object.title }} </a>
</li>
{% endfor %}
</ul>
......
No preview for this file type
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