X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/734cd58d3f12c5397b42c1ae122c947500386014..2c99167266c1be5545880dc2ee2b1a0c741fddc7:/migdal/feeds.py?ds=sidebyside diff --git a/migdal/feeds.py b/migdal/feeds.py index 33e9e0b..3f49f32 100644 --- a/migdal/feeds.py +++ b/migdal/feeds.py @@ -42,13 +42,12 @@ class EntriesFeed(Feed): return reverse('migdal_main') def items(self, obj): - return api.entry_list(**obj) + return api.entry_list(for_feed=True, **obj) def item_title(self, item): return item.title def item_description(self, item): - return item.lead image = item.image.url if item.image else "/static/img/square-logo.png" return string_concat("" % image, item.lead)