I have models.py as follows:

```
class Article(models.Model):
    board = models.ForeignKey(Board)
    subject = models.CharField("과목명", max_length=10)
    ...

class Question(models.Model):
    user = models.ForeignKey(User)
    article = models.ForeignKey(Article)
    professor = models.CharField("출제교수", max_length=4)
    ...

```

Views.py:

```
def get_q_table(request):
    context = {
        "q_list" : Question.objects.all().order_by("number")
    }
    return render(request, "q_table.html", context)

```

I want to somehow pass related instance to q\_table.html, but can't find a way to do that. I should be something like below (Of course, it not quite right. I've been looking up documentations of foreign key queries but i cannot figure a way out':

```
def get_q_table(request):
context = {
    "q_list" : Question.objects.all().order_by("number")
    "article" : Question.objects.all().related_board
}
return render(request, "q_table.html", context)

```

If I figure a way out, then the following template should work:

```
<div class="container">
    <div class="page-header"><h3>{{article.subject}} : {{article.year}}년 {{article.semester}}학기 {{article.quarter}}Q</h3></div>
    <div>
        <ul class="list-group" id="visitorbook">
        {% for question in questions %}
            <li class="list-group-item">{{question.number}} : {{ question.question }} - {{ question.answer }}
            </li>
        {% endfor %}
        </ul>
    </div>
</div>

```