Пример #1
0
 def items(self, obj):
     """Items are the published entries of the author"""
     return entries_published(obj.entries)[:FEEDS_MAX_ITEMS]
Пример #2
0
 def entries_published(self):
     """Return only the entries published"""
     return entries_published(self.entries)
Пример #3
0
 def related_published(self):
     """Return only related entries published"""
     return entries_published(self.related)
Пример #4
0
 def items(self, obj):
     """Items are the published entries of the author"""
     return entries_published(obj.entries)[:FEEDS_MAX_ITEMS]
Пример #5
0
 def entries_published(self):
     """Return only the entries published"""
     return entries_published(self.entries)
Пример #6
0
 def related_published(self):
     """Return only related entries published"""
     return entries_published(self.related)