X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0534cba3ab83d0d10e52c2c27eb6387c9763481b..26f3ed051ee8f2c5caa7a3119bcf30e5310d5266:/apps/catalogue/feeds.py diff --git a/apps/catalogue/feeds.py b/apps/catalogue/feeds.py index ddbcb1d6a..2411d015a 100644 --- a/apps/catalogue/feeds.py +++ b/apps/catalogue/feeds.py @@ -5,7 +5,6 @@ from django.contrib.sites.models import Site from django.contrib.syndication.views import Feed from django.core.urlresolvers import reverse -from django.db.models import Q from catalogue import models @@ -52,7 +51,7 @@ class AudiobookFeed(Feed): return item.name def item_categories(self, item): - return sorted(set(author.name for author in + return sorted(set(author.name for author in item.book.tags.filter(category='author').iterator())) def item_description(self, item):