created authors.html which displays the list of authors

parent 3e862817
{% extends 'base.html' %}
{% load static %}
{% block title %}My Favorite Authors{% endblock %}
{% block content %}
<h1>Lance'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 %}
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