Esempio n. 1
0
    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)
Esempio n. 2
0
    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)
Esempio n. 3
0
File: post.py Progetto: Didan/Misago
    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)
Esempio n. 4
0
    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)
Esempio n. 5
0
 def move_to(self, thread):
     move_post.send(sender=self, move_to=thread)
     self.thread = thread
     self.forum = thread.forum