Commit 111bd104 authored by Gabriel G. Garrero's avatar Gabriel G. Garrero

Updated authors.html

parent 68b1317e
...@@ -2,8 +2,21 @@ ...@@ -2,8 +2,21 @@
{% load static %} {% load static %}
{% block title %}{% endblock %} {% block title %}My Favorite Authors{% endblock %}
{% block content %} {% block content %}
<h1>Gabi's Favorite Authors:</h1>
<ul>
{% for object in object_list %}
<li>
<a href = "{{ object.get_absolute_url }}">{{ object.first_name }} {{ object.last_name }}</a>
</li>
{% endfor %}
</ul>
<a href = '/bookshelf/home/'>Home</a>
<a href = '/bookshelf/books/'>Books</a>
{% endblock %} {% endblock %}
\ No newline at end of file
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