예제 #1
0
 def entries_published(self):
     """Return only the entries published"""
     return entries_published(self.entries)
예제 #2
0
 def blog_entries_published(self):
     """返回已发布的日志"""
     return entries_published(self.blogs)
예제 #3
0
 def related_published(self):
     """Return only related entries published"""
     return entries_published(self.related)
예제 #4
0
 def entries_published(self):
     """返回已发布的文章"""
     return entries_published(self.entries)
예제 #5
0
 def items(self, obj):
     """Items are the published entries of the author"""
     return entries_published(obj.entries)[:FEEDS_MAX_ITEMS]