5๐
โ
I think you may searching for something like this.
<table>
<tr>
<th>Question</th>
<th>Answers</th>
</tr>
{% for q in Questions %}
<tr>
{% for a in q.question.all %}
<td>{{q}}</td>
<td>{{a.answer}}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
๐คGeo Jacob
- [Django]-Django and Nginx try_files 403 for site root page
- [Django]-Style Django form error message
- [Django]-Foreign Keys clash with related field in Django Model
Source:stackexchange.com