Example #1
0
 def items(self):
     stories = Article.published.get_stories(
         num_top=1,
         num_mid=2,
         num_low=7,
         base=Article.published.filter(is_racy=False))
     return flatten(stories)
Example #2
0
 def items(self, obj):
     return flatten(obj.get_stories(num_top=1, num_mid=2, num_low=7))
Example #3
0
 def items(self):
     stories = Article.published.get_stories(num_top=1, num_mid=2, num_low=7,
                             base=Article.published.filter(is_racy=False))
     return flatten(stories)
Example #4
0
 def items(self):
     stories = Article.published.get_stories(num_top=1, num_mid=2, num_low=7)
     return flatten(stories)
Example #5
0
 def items(self, obj):
     return flatten(obj.get_stories(num_top=1, num_mid=2, num_low=7))
Example #6
0
 def items(self):
     stories = Article.published.get_stories(num_top=1,
                                             num_mid=2,
                                             num_low=7)
     return flatten(stories)