I'm not sure about this line, I did it because the q.comment was created with a null object_pk. We use the comment instance to render the template nicely. 

Maybe you have some suggestion to avoid creating again the comment instance and just updating it.