Implemented template inheritance and brought back errors

This commit is contained in:
Simon Willison 2017-10-23 19:56:27 -07:00
commit b20d7119e4
5 changed files with 40 additions and 15 deletions

View file

@ -1,3 +1,8 @@
{% extends "base.html" %}
{% block title %}{{ database }}: {{ table }}{% endblock %}
{% block content %}
<h1><a href="/{{ database }}-{{ database_hash }}">{{ database }}</a></h1>
<h2>{{ table }}</h2>
@ -22,3 +27,4 @@ td {
</tr>
{% endfor %}
</table>
{% endblock %}