def move(self, new_thread): from misago.threads.signals import move_post if self.is_best_answer: self.thread.clear_best_answer() self.category = new_thread.category self.thread = new_thread move_post.send(sender=self)
def move(self, new_thread): from misago.threads.signals import move_post self.forum = new_thread.forum self.thread = new_thread move_post.send(sender=self)
def move(self, new_thread): from misago.threads.signals import move_post self.category = new_thread.category self.thread = new_thread move_post.send(sender=self)
def move_to(self, thread): move_post.send(sender=self, move_to=thread) self.thread = thread self.forum = thread.forum