exclude hidden in rss feed
This commit is contained in:
parent
9f61506839
commit
ece0a1cc5c
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class RecentlyUploadedFeed(Feed):
|
||||||
description = "A list of most recently uploaded documents."
|
description = "A list of most recently uploaded documents."
|
||||||
|
|
||||||
def items(self):
|
def items(self):
|
||||||
return Document.objects.order_by('-uploaded')[:5]
|
return Document.exclude_hidden.order_by('-uploaded')[:5]
|
||||||
|
|
||||||
def item_title(self, item):
|
def item_title(self, item):
|
||||||
return item.title
|
return item.title
|
||||||
|
|
Loading…
Reference in a new issue