I need a comment system so can reply a comment to any comment
I know how to write models and views and my only problem is showing them in the template
For example, maybe a group of comments are like this:
comment
comment
comment
comment
comment
comment
comment
comment
comment
comment
How can I display this structure in the template?
Your
Commentmodel should have aparentfield which refers to another comment(self relationship).it will be something like this, add it to your
Commentmodel:now you have your replies and even your replies can be the parent of another comment.
And in your template:
Note that the field names are just examples