Re: Efficient way to Display Comments with Threaded Replies

2010-03-02 Thread Merrick
I forgot to change out the name of the node to be path, which is what it is. That's why I can sort on it. Thank you, I'll give it a try. On Mar 2, 12:04 am, Mihail Lukin wrote: > I'm not sure what "node" is, but maybe you're looking for something > like this: > >

Efficient way to Display Comments with Threaded Replies

2010-03-01 Thread Merrick
I have a comments model that is setup to do threaded replies. I am having trouble figuring out how to display the comments in a threaded manner, i.e. tree. My model looks like this: class Comment(models.Model): post = models.ForeignKey(Post, null=True, blank=True) user =