X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/e0d369578addcd03951292fa1c1b471972cac559..476685a9de9b8380c5c8ee71d63d6d6020533926:/migdal/feeds.py 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)