X-Git-Url: http://gitweb.fperrin.net/?p=djsite.git;a=blobdiff_plain;f=quotes%2Ftemplates%2Fquotes%2Fauthor.html;h=be5476e17b448194a922b1d0ffdde0aed06af73d;hp=60dbafa577c45b4cf83ff3ef9354d096b745b5ff;hb=13c2e4fc8a5506cfa074c06335a73d28a173aba9;hpb=471c53df73726601ffdbefc3f709ab5b6cb381ff diff --git a/quotes/templates/quotes/author.html b/quotes/templates/quotes/author.html index 60dbafa..be5476e 100644 --- a/quotes/templates/quotes/author.html +++ b/quotes/templates/quotes/author.html @@ -10,8 +10,10 @@

All the quotes for {{ author.name }}:

-{% 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 %}