tomaszzielinski/askbot-devel — comment on commit 13574985075aa595384f6d24e871f27510221a5f
File: askbot/models/content.py line 524
By evgenyfadeev:

just a comment - the swap_with_question() method is somewhat of a misnomer - I created it as a helper for importer from zendesk data, where somehow I could not figure out reliably which post is original in the thread.

I think that many methods on thread once Thread is properly implemented will be simpler. like this one will be just

answer.post_type = 'question'
question.post_type = 'answer'
self.question = answer
self.answer = question
self.save()