예제 #1
0
 def items(self, obj):
     """Items are the published entries of the author"""
     return entries_published(obj.entries)[:FEEDS_MAX_ITEMS]
예제 #2
0
파일: models.py 프로젝트: alexliyu/lincdm
 def entries_published(self):
     """返回已发布的文章"""
     return entries_published(self.entries)
예제 #3
0
파일: models.py 프로젝트: alexliyu/lincdm
 def blog_entries_published(self):
     """返回已发布的日志"""
     return entries_published(self.blogs)
예제 #4
0
파일: models.py 프로젝트: alexliyu/lincdm
 def entries_published(self):
     """Return only the entries published"""
     return entries_published(self.entries)
예제 #5
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]
예제 #6
0
파일: models.py 프로젝트: alexliyu/lincdm
 def related_published(self):
     """Return only related entries published"""
     return entries_published(self.related)
예제 #7
0
파일: models.py 프로젝트: alexliyu/lincdm
 def entries_published(self):
     """Return only the entries published"""
     return entries_published(self.entries)
예제 #8
0
파일: models.py 프로젝트: alexliyu/lincdm
 def related_published(self):
     """Return only related entries published"""
     return entries_published(self.related)
예제 #9
0
 def blog_entries_published(self):
     """返回已发布的日志"""
     return entries_published(self.blogs)
예제 #10
0
 def entries_published(self):
     """返回已发布的文章"""
     return entries_published(self.entries)