Commit b6d8c359 authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

edited urls.py and views.py

parent fd8e27b8
{% extends 'base.html' %}
{% extends 'base.html' %}
{% load static %}
{% block title %}{{ books.title }}{% endblock %}
{% block header %}{{ books.title }}{% endblock %}
{% block content %}
<a href="/authors/{{ books.author.pk }}/details/">{{ books.author.pk }}</a><br>
{% block header %}<h1>{{ books.title }}</h1>{% endblock %}
<a href="/bookshelf/author/{{ books.author.pk }}/details/">{{ books.author.pk }}</a><br>
<p>{{ books.publisher }}</p>
<p>{{ books.year_published }}</p>
<p>{{ books.year_ISBN }}</p>
<p>{{ books.year_blurb }}</p>
<a href="/homepage/">Home</a>&nbsp;&nbsp;
<a href="/books/">Books</a>&nbsp;&nbsp;
<a href="/authors/">Authors</a>
<a href="/bookshelf/">Home</a>&nbsp;&nbsp;
<a href="/bookshelf/books/">Books</a>&nbsp;&nbsp;
<a href="/bookshelf/author/">Authors</a>
{% 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