]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/templates/quotes/author.html
Add a 'work' concept
[djsite.git] / quotes / templates / quotes / author.html
index 60dbafa577c45b4cf83ff3ef9354d096b745b5ff..be5476e17b448194a922b1d0ffdde0aed06af73d 100644 (file)
 
 <p>All the quotes for {{ author.name }}:<p>
 
-{% for quote in author.quote_set.all %}
-  {% include "quotes/display.html" with quote=quote skip_author_notes=True %}
+{% for work in author.work_set.all %}
+  {% for quote in work.quote_set.all %}
+    {% include "quotes/display.html" with quote=quote skip_author_notes=True %}
+  {% endfor %}
 {% endfor %}
 
 {% endblock %}