summaryrefslogtreecommitdiffstats
path: root/askbot/feed.py
diff options
context:
space:
mode:
authorAlexander Werner <alex@documentfoundation.org>2011-11-18 20:53:37 +0000
committerAlexander Werner <alex@documentfoundation.org>2011-11-18 20:53:37 +0000
commit4788df5206fec16d371086b47ab925e9ccb475d8 (patch)
tree9d1d3b65cbd99a87c854a962500320a6036c4779 /askbot/feed.py
parenta1773f4a71601295f0c6f9fbcff476a73dcc0623 (diff)
downloadaskbot-4788df5206fec16d371086b47ab925e9ccb475d8.tar.gz
askbot-4788df5206fec16d371086b47ab925e9ccb475d8.tar.bz2
askbot-4788df5206fec16d371086b47ab925e9ccb475d8.zip
Reintroduced limit to rss feed length (lost in commit 54c4083)
Diffstat (limited to 'askbot/feed.py')
-rw-r--r--askbot/feed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/feed.py b/askbot/feed.py
index 20932f1a..7f41fd4f 100644
--- a/askbot/feed.py
+++ b/askbot/feed.py
@@ -155,7 +155,7 @@ class RssLastestQuestionsFeed(Feed):
for tag in tags:
qs = qs.filter(tags__name = tag)
- return qs.order_by('-last_activity_at')
+ return qs.order_by('-last_activity_at')[:30]