X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0dff76ecd927e5be83d8a6076f84c87c5dea4a4c..1ca6872afcca0bb6fb4c0c11fdad3b760a2362a1:/apps/picture/models.py?ds=sidebyside diff --git a/apps/picture/models.py b/apps/picture/models.py index c34b39a25..dc92c43d6 100644 --- a/apps/picture/models.py +++ b/apps/picture/models.py @@ -184,7 +184,7 @@ class Picture(models.Model): if short_html is not None: return mark_safe(short_html) else: - tags = self.tags.filter(category__in=('author', 'kind', 'epoch')) + tags = self.tags.filter(category__in=('author', 'kind', 'epoch', 'genre')) tags = split_tags(tags) short_html = unicode(render_to_string('picture/picture_short.html',