-# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
#
from django.contrib.sites.models import Site
from django.contrib.syndication.views import Feed
def items(self, args):
objects = models.BookMedia.objects.order_by('-uploaded_at')
+ objects = objects.filter(book__findable=True)
if type == 'all':
objects = objects.filter(type__in=('mp3', 'ogg', 'daisy'))
else: