1👍
✅
This isn’t at all a question about lists.
Presumably you have a separate Comment model, and that model has a ForeignKey to the Question model; if you don’t have that structure, then you should.
Then it’s simply a matter of following the reverse relationship for each question:
{% for question in latest_question_list %}
...
{% for comment in question.comment_set.all %}
{{ comment.text }}
{% endfor %}
{% endfor %}
Note that this exact structure is well described in the tutorial, with the example of Poll and Choice.
Source:stackexchange.com