Skip to content

Commit

Permalink
changed feeds.items query from filter to all
Browse files Browse the repository at this point in the history
  • Loading branch information
omkarvijay5 committed Sep 2, 2014
1 parent 4e4c1fa commit b768842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blogango/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class main_feed(Feed):
description = blog.tag_line

def items(self):
return BlogEntry.objects.filter(is_published=True, is_page=False)[:10]
return BlogEntry.objects.all()[:10]

def item_description(self, item):
return item.text
Expand Down

0 comments on commit b768842

Please sign in to comment.