X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e5e8226c4d4bd610de5983e69b1b13684a17fe75..6c78d4b8976e413f788ab3db1dc899608b70c7f3:/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):