14.7. Viewing Comments and Replies#

In order to explore automated content moderation, we are going to now look at how we can view a comment and its replies (and replies to those replies, etc.). Once we have a way of displaying these comments, then we can add a rules to show or hide specific comments.

As a first step, we need to look at how comments and replies are saved in a data structures called a “trees.”