Exemplo n.º 1
0
 def replies(self):
     return Reply.objects(receivers__contains=self).order_by('-created_at')
Exemplo n.º 2
0
 def replies(self):
     replies = Reply.objects(topic=self)
     replies = [r.replyConvert() for r in replies]
     return replies