Пример #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]