X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/734cd58d3f12c5397b42c1ae122c947500386014..d4b17ad934120d877d606b3130f826273ee49dc2:/migdal/feeds.py?ds=inline 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)