def save(self, user, topic): post = Post(content=self.content.data) if self.track_topic.data: user.track_topic(topic) return post.save(user=user, topic=topic)
def save(self, user, topic): post = Post(content=self.content.data) return post.save(user=user, topic=topic)