title: Does Django hit the database when I access an object's attributes?
body: <p>Does the following code query the database every time I call question.name?</p>
  
  <pre><code>class Question(models.Model):
      name=models.CharField()
      test=models.ForeignKey(Test)
  
  questions = Question.objects.filter(test=some_test)
  for question in questions:
      question_name = question.name
  </code></pre>
  
  <p>My view takes a set of questions and user responses and scores a worksheet.  My goal is to execute all of the scoring without going back to the database, then save the result of my comparisons (a dictionary) using a background task where it's ok if it takes a little longer. I want to eliminate any unnecessary database hits.</p>