Commit 1dbc52ae authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Fixed the books.html

parent a56439b0
<!-- project/app/template/app/index.html --> <!-- books_list.html -->
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block title %}My Favorite Books{% endblock %} {% block title %}My Favorite Books{% endblock %}
{% block content %} {% block content %}
<h1>Enzo's Favorite Books:</h1> <h1>Enzo's Favorite Books:</h1>
<body>{% for book in books %} <body>
<li>{{ book.title }}</li> {% for object in object_list %}
<a href="{{ object.get_absolute_url }}">{{ object.title }}</a>
{% endfor %}
</body> </body>
{% endblock %}
{% endblock %} \ No newline at end of file
\ 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