]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/templates/quotes/author.html
Rename code from 'quotations' to 'quotes'
[djsite.git] / quotes / templates / quotes / author.html
diff --git a/quotes/templates/quotes/author.html b/quotes/templates/quotes/author.html
new file mode 100644 (file)
index 0000000..1fa09c8
--- /dev/null
@@ -0,0 +1,15 @@
+{% extends 'quotes/base.html' %}
+
+{% block body %}
+
+
+<h1>{{ author.name }}</h1>
+
+<p>All the quotes for {{ author.name }}:<p>
+
+{% for quote in author.quote_set.all %}
+  {% include "quotes/display.html" with quote=quote %}
+{% endfor %}
+
+
+{% endblock %}