예제 #1
0
파일: feeds.py 프로젝트: alexliyu/lincdm
 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
파일: models.py 프로젝트: alexliyu/lincdm
 def entries_published(self):
     """Return only the entries published"""
     return entries_published(self.entries)
예제 #6
0
파일: models.py 프로젝트: alexliyu/lincdm
 def related_published(self):
     """Return only related entries published"""
     return entries_published(self.related)