def loadTemplate(self): for update in self.children['updates']: update.blog = self.blog update.story = self for comment in self.children['comments']: comment.blog = self.blog comment.story = self Item.loadTemplate(self)
def loadTemplate(self): for child in self.children['replies']: child.blog = self.blog child.story = self.story child.parent = self Item.loadTemplate(self)
def loadTemplate(self): for child in self.children['stories']: child.blog = self Item.loadTemplate(self)
def loadTemplate(self): Item.loadTemplate(self)