Permalink
Browse files

Feed: only show reports in branch trunk

  • Loading branch information...
1 parent a4510d7 commit 323440a6e8d3375fefc0642585b6ffa29cde81dd @tobami committed Sep 8, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 codespeed/feeds.py
View
@@ -9,4 +9,6 @@ class LatestEntries(Feed):
description = "Last benchmark runs"
def items(self):
- return Report.objects.order_by('-revision__date')[:10]
+ return Report.objects.filter(
+ revision__branch__name=settings.DEF_BRANCH
+ ).order_by('-revision__date')[:10]

0 comments on commit 323440a

Please sign in to comment.