{% with comment.children.all as comment_list %} {% if comment_list %} {% for comment in comment_list %} {% include 'comment/item/comment_reply_item.html' %} {% endfor %} {% endif %} {% endwith %}